28. Rewrite the following code in Python after removing all syntax error(s). Underline each
correction done in the code
Num 50
while Num> 10:
if NUM=30
BREAK
Elif Num >30
print(Num)
else:
print(Num //10)
hardikambitious007:
where did u get this question can u send complete paper?
Answers
Answered by
3
Answer:
Num = 50
while Num>10:
if Num==30:
break
elif Num>30:
print(Num)
else:
print(Num//10)
Explanation:
tabs should be used appropriately in order for the code to run properly, or else it will throw an indentation error.
hope it helps! :)
Similar questions