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

Many mainstream religions(including Catholicism) do not find conflict here faith and evolution. Describe how a person can reconcile what the bible says with wha
Donde ira la familia este verano
As columbus surveys the inhabitants of the islands on his first voyage, he believes their timidity will eventually make them easily transformed into what
I need to learn how the steps to divide
Liam borrowed a total of $35,000 to pay for college. He pays his parents 3% interest on the $8,000 he borrowed from them and pays the bank 6.8% on the rest. Wha
1) 15^2=4^2+2(32)x 2) 105=45+5x
Write the slope intercept form of the equation of the line through the point with the given coordinates and having the given slope. (3,5),-3
How many neutrons does element x have it it’s atomic number is 20 and it’s mass is 88?
Explain how the Prunnett square can be used to predict the probability that an offspring from such a cross has a given phenotype (for example yellow,wrinkled se
Which statement BEST describes the Tuskegee Airmen (pictured here)? A) the first American pilots in the U.S. Air Force. B) the first integrated combat uni