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

-3-(-8)-(-2)=x, what is the value of x?
The sacred ball court a. had life or death implications for those who played upon it. b. could only be played on by mayan priests. c. was a large, open, c
As children at risk become adolescents, some of them will find themselves engaged in what goffman referred to as _____ or places where routine degradation proce
EASY MATH QUESTION Which figures in the diagram below are vertical angles? THERE CAN BE MULTIPLE ANSWERS
how to solve this form 3
Which of the following is true of theme? Theme is never developed until the resolution point of a story. Theme is usually stated in one-word concepts. Theme i
convert y+6=-2(x-4) to slope-intercept form
which nation was born out of the indo pakistan war in 1971
8. When reading a play, what part helps you create a visual image of what is happening on the stage? A. dialogue B. action C. historical context D. sta
Narcissistic personality disorder is characterized primarily by: