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
10
Answer:
Answer: error
Explanation: SyntaxError, there shouldn’t be a space between + and = in +=.
Similar questions
Social Sciences,
1 month ago
Social Sciences,
3 months ago
English,
3 months ago
Math,
9 months ago
English,
9 months ago
Music,
9 months ago