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

How do you make an essay longer without changing the font or letter size?
Compare the values. 9x 102 is ? times as much as 3 * 10-2, 6 x 10° 3 x 10-4 6 x 104 3 x 104
Evaluate the expression. log,7(1/49)
1930 - 1965 What caused few immigrants to come during this time period?
Based on context clues what does impartial mean in the following sentence? Journalists can cover anything they choose and from any viewpoint whether impartial o
How many grams of water can be produce from the complete reaction of excess nitric acid and 33.2 mL of 0.245 M lithium hydroxide solution, assuming that lithium
help me i need help plz
Show that b^2 is greater than equal to or less than ac, according as a, b, c are in A.P., G.P.Or HParithmetic mean is 25 and geometric mean is 20.​
Please due ASAP Show workings
Animal farm part C: Fill in the blank In the end of the book, the seven commandments were reduced to one commandment which read...............