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

What is the answer to number 6?
Nathan picked a total of 60 apples in hour. Write and solve a division equation to find how many apples Nathan could pick in 1 hour. PLEASE WRITE THIS OUT SO
Who discovered the South Pass to the Oregon Territory? Dr. Marcus Whitman Jason Lee Jedediah Smith
Could i take a hard boiled egg yolk daily.?
Heart of darkness is best viewed as an allegory of a. every person's potential for evil and corruption. b. the redemption of which each of us is capable. c.
Find the equation of the circle whose center and radius are given. center (0, 8), radius = 8
I need to know the value of x
Which of the following are listed on the periodic table compounds elements mixtures or solutions
Give the theoretical probability of rolling a primary color
What term is used to describe an individual's money and personal property?