Computer Science, asked by gauthamrajkp102004, 3 months ago

What is the output of the following statement with reason? (2)
for i in range(1,11):
if i%3 == 0:
break
else:
print(i)

Answers

Answered by ahanamix
10

Answer:

Answer: error

Explanation: SyntaxError, there shouldn’t be a space between + and = in +=.

Similar questions