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

A Magellanic penguin is at an initial position of 4 m and waddles to a position of 8 m in 8 s. What is the penguin’s average velocity?
I need help with #23
When it is 4:00 a.m. in Honolulu, it is 2:00 p.m. in London. Just before Paul’s flight from Honolulu to London, he called his friend Nigel, who lives in London,
What is the simple predicate of the following sentence? The moon is shining bright.
The oxygen side of a water molecule is _____
Emma and evil are saving for a new car. Emma has 200 o and she plans to save an additional 50 per month. Evie has 1,600 and she plans to save additional 100 pe
If y = -4 when x = 10, find y when x = 2.
How can i relate decimals to a place-value chart?
James and Sarah went out to lunch the price of a lunch for both of them was $20 they tipped their server 20% of that amount how much did each person pay if they
why is europe called the peninsula of peninsulas????