peepsSmurf
peepsSmurf peepsSmurf
  • 24-10-2020
  • Computers and Technology
contestada

what is the output? there are no answer options and I'm completely lost.

>>>answer = "five times"

>>>answer[2:7] ​

Respuesta :

Cytokine
Cytokine Cytokine
  • 24-10-2020

The string answer = "five times"

All strings start at index 0 and end at the length of the string minus 1

So, if we count appropriately, index 2 is v and index 7 is m

answer[2:7] goes from v to m including v but not m, therefore,

answer[2:7] = "ve ti"

Answer Link

Otras preguntas

Which expression is equivalent to 5(4x + 3)
Which of these were achievements of the Kingdom of Silla during its golden age? Select all that apply. The kingdom of Silla controlled parts of Manchuria Buddhi
Can someone help me with this question? I’ll mark you brainliest if you answer!!!
plss help me plss #3​
English Why should children should not drinkakohol​
what art did the samurai make or practiced?
HELP Which of these would be a result of health care problems in Africa? Question 1 options: high literacy rate high infant mortality rate high life expectancy
a circle with radius of 5cm sits inside a 11cm×11cm rectangle
It takes Sally 15 min to pick the apples from the tree in her backyard. Lisa can do it in 25 min. How long will it take them working together?
Select the statement that describes this expression: 5 x (3 + 4) − 4. 5 times the sum of 3 and 4, then subtract 4 5 times 3 plus 4 minus 4 5 more than the su