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

Protists that play an important role in aquatic food webs are called
What is the second largest watershed by drainage area in north america?
When given the diameter of a sphere, how can the volume be calculated? Describe the steps needed to find the volume.
why were Roman roads like they were
After being deployed and arrived on scene at an incident the first task for response personnel is to
What is the acceleration of a body moving with uniform velocity?
Attending religious rituals before a practice or a match is one of the ways individual sports develop a person's spiritual health true or false
a rift valley forms at a
Consider the line y = 2/3x – 4. A line parallel to the graph of the line would have a slope of __________ . A line perpendicular to the graph of the line would
Which of the following tables best represents the technological transformation of primary news sources in America?