13.0k views
3 votes
**Random answers to get points will be reported.**

Identify the error in the following block of code.

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

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

2 Answers

4 votes

Answer:

B

Step-by-step explanation:

"(2, 6)" the space in between those numbers create a bad income I tried it and it was the problem so hence its B

User MrG
by
6.0k points
6 votes

Answer

I think its: The first line is missing quotes

Step-by-step explanation:

User Russes
by
5.8k points