subject
Engineering, 21.02.2020 02:38 bbyggigi94041

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)
please help i am so stuck

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
If a particle moves along a path such that r : (3 sin t) m and ? : 2t rad, where t is in seconds. what is the particle's acceleration in m/s in 4 seconds? a)- 16.43 b)- 16.29 c)- 15.21 d)- 13.79
Answers: 1
question
Engineering, 04.07.2019 18:10
Abrake has a normal braking torque of 2.8 kip in and heat-dissipating cast-iron surfaces whose mass is 40 lbm. suppose a load is brought to rest in 8.0 s from an initial angular speed of 1600 rev/min using the normal braking torque; estimate the temperature rise of the heat dissipating surfaces.
Answers: 3
question
Engineering, 04.07.2019 18:10
True or false (explain) (110)[111] is a slip system in bcc metals . the {111} family in fcc contains 8 planes. resolved shear stress (rss) in single crystals is just related to the applied stress. critical resolved shear stress (crss) in single crystal metals is direct proportional to the number of defects in the structure
Answers: 2
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, 28.04.2021 16:50
question
Mathematics, 28.04.2021 16:50
question
Mathematics, 28.04.2021 16:50
question
Mathematics, 28.04.2021 16:50
Questions on the website: 13722367