subject

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 wassecondword = 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)

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:00
How is the number 372 written when expanded out to place values in the base 8 (octal) number system? a. 2 x 4 + 3 x 2 + 4 x 1 b. 3 x 64 + 7 x 8 + 2 x 1 c. 3 x 8 + 7 x 7 + 2 x 6 d. 3 x 100 + 7 x 10 + 2 x 1
Answers: 1
question
Computers and Technology, 23.06.2019 07:50
Apython programming question: assume s is a string of lower case characters. write a program that prints the number of times the string 'bob' occurs in s. for example, if s = 'azcbobobegghakl', then your program should print number of times bob occurs is: 2
Answers: 3
question
Computers and Technology, 23.06.2019 09:30
Facial expressions and gestures are examples of messages.
Answers: 3
question
Computers and Technology, 24.06.2019 00:00
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
You know the right answer?
Assume that sentence is a variable that has been associated with a string consisting of words separa...
Questions
question
Mathematics, 09.09.2020 06:01
Questions on the website: 13722367