282,975 views
22 votes
22 votes
Identify the error in the following block of code.

for x in range(2, 6):
prnt(x)

o The first line is missing quotes.
o The first line has a spelling error.
o The second line has a spelling error.
o The second line needs to be indented four spaces.

User AndyTheEntity
by
2.5k points

2 Answers

26 votes
26 votes

Answer:the first line is missing quotes

User Joffrey Hernandez
by
2.5k points
22 votes
22 votes

Answer:

The first line has a spelling error

User JineshEP
by
2.7k points