130k views
1 vote
Pls Hurry!!

What is the missing line of code?
>>> sentence = "Programming is fun!"
>>> _____
'gra'

sentence[2:5]

sentence[3:5]

sentence[3:6]

sentence[2:6]

User Deepesh M
by
4.3k points

2 Answers

3 votes

Answer:

the answer is [3:6]

Step-by-step explanation:

User Elliot Plant
by
4.6k points
0 votes

Answer:

The answer is [3:6]

Step-by-step explanation:

At first i thought it would be sentence[3:5], but when i put my theory to the test, it was actually sentence[3:6].

hope i helped

User Karry
by
5.1k points