Rewrite the following program after correcting the syntactical errors:
a) i=10
while i >= 5:
PRINT (I)
i = i+1
2
Answers
Answered by
1
i = 10
while i >= 5:
print(i)
i = i+1
#Errors were PRINT(I) is incorrect, instead, use print(i), there will be no 2 in the code without any valid statement.
Similar questions
Social Sciences,
3 months ago
English,
3 months ago
English,
3 months ago
Geography,
7 months ago
Computer Science,
7 months ago
Chemistry,
11 months ago
History,
11 months ago