Jeffreyfos Jeffreyfos
  • 23-10-2020
  • Computers and Technology
contestada

>>> sentence = "Programming is fun!"

>>> _____

'gr'
A sentence[2:6]

B sentence[3:5]

C sentence[2:5]

D sentence[3:6]

Respuesta :

Cytokine
Cytokine Cytokine
  • 23-10-2020

sentence[2:5] is the correct answer.

This means it selects all the indexes before 5 and after 2, including 2.

Answer Link
saltycbox
saltycbox saltycbox
  • 19-11-2020

Answer:

B - sentence[3.5]

Explanation:

just took this on edge. have a good one

Answer Link

Otras preguntas

Prove, or find a counterexample: "if m is odd," then 4m – 3 "is odd."
Which of Steve Reich's compositions grew directly out of his studies at the University of Ghana? A. City Life B. Music for Eighteen Musicians C.
Which is the slope of the line that passes through the points (3,5) and (8,7)? 1. -1/2 2. 5/2 3. 2/5 4. 3/4
Charlie had some test done recently to assess his risk for certain diseases. The results showed that he has a waist circumference of 47inches a BMI of 29 and no
Simplify 5(2x - (6 - 4y + 4x) + 3y) A. -51x + 12y - 17 B. -88x + 56y - 9 C. -10x + 35y - 30 D. 36x + 54y - 65 E. None of the above
A 4 kg book and a 7 kg lamp are both in the living room. If the force of gravity between them is 2.99 10-10 N, how far apart are they?
The number negative eight is to the left of zero on the number line. Which choice expresses this fact in symbols? A) -8 > 0 B) -8 < 0 C) 0 -
Why does Smollett disagree when silver calls himself captain?
Use the substitution method to solve the following system of linear equations: x + y = 6 x = –y + 2
Student got 25 questions right put did not pass on second attempt student got 35 what was percent increase