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

nine months is what percent of a year
4x+y=8 and x+3y=8 graphed
What range of latitude does south America span?
6) Lunch furnishes 8 mg of the minimum daily requirement (MDR) for iron, while the other meals furnish 10 mg of the MDR. Write the ratio (in lowest terms) of th
what is the answer [tex]5x(4x+3)=24[/tex]
a student 1/3 of clay and a other student has 5/8 of clay what do you do if you have to divide it
Which of the following is not a true statement regarding the writing process? A. It can be used to develop any type of writing. B. It can guide the author from
what is 19/20 as a decimal
You are downloading a song. The percent y(in decimal form) of megabytes remaining to download after x seconds is y=-0.1x+1. Interpret the x- and y- intercepts.
i need help!! i need 15 questions in spanish i can ask someone to get to know them better, but not ovbiosu ones like whats your name, but questions that are mor