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

Part B Choose one character that you described in part A. Use the character's dialogue to explain how the play reveals aspects of the characters personality tri
What determines the atomic number of an element ?
Why do Cultures Face Sustainability Challenges?
Given: △ABC, D ∈ ray BC C∈ BD , AB=AC=BC Prove: BD>DA>AB
A cricket stump has a sharp point at one end use the words force area or pressure
Given f (x) = 2x3, find f-1 (16). O A. y=v2 O c. y=234 O B. y = 2 O D. 9= 22 PLEASE HELP ITS DUE IN 10 minutes
What biome would have the highest amount of precipitation.​
Using complete sentences, explain how canals are used in Western Europe. What are two advantages that Europe has over other continents when it comes to transpor
What is the domain of h^-1(x)
Need help I am stuck, I would like to see if my work matches someone else's to check it over.