176k views
2 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.

2 Answers

5 votes

Answer:the first line is missing quotes

User GoSmash
by
3.2k points
5 votes

Answer:

The first line has a spelling error

User Supamunkey
by
3.8k points