Computers and Technology, 23.03.2020 22:14 Smartpotato9555
Assume that sentence is a variable that has been associated with a string consisting of words separated by single space characters with a period at the end. For example: "This is a possible value of sentence." Write the statements needed so that the variable secondWord is associated with the second word of the value of sentence . So, if the value of sentence were "Broccoli is delicious." your code would associate secondWord with the value "is" . (python)
my answer was
secondWord = sentence. substr(sentence. find(" ") + 1)
secondWord = secondWord. substr(0, secondWord. find(" "))
but i am keep on getting error message saying
⇒ You almost certainly should be using: [ ]
⇒ We think you might want to consider using: :
⇒ Solutions with your approach don't usually use: , (comma)
Answers: 1
Computers and Technology, 22.06.2019 16:30
Primary tech skills are skills that are necessary for success in online education
Answers: 3
Computers and Technology, 22.06.2019 18:30
The "instance" relationship shows that something is an object of a
Answers: 1
Computers and Technology, 23.06.2019 17:00
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the
Answers: 1
Computers and Technology, 23.06.2019 17:30
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
Assume that sentence is a variable that has been associated with a string consisting of words separa...
Mathematics, 31.10.2019 07:31
Mathematics, 31.10.2019 07:31
Mathematics, 31.10.2019 07:31
Mathematics, 31.10.2019 07:31
Mathematics, 31.10.2019 07:31
Mathematics, 31.10.2019 07:31
Mathematics, 31.10.2019 07:31
Mathematics, 31.10.2019 07:31
Mathematics, 31.10.2019 07:31
Social Studies, 31.10.2019 07:31
Chemistry, 31.10.2019 07:31
History, 31.10.2019 07:31