Computer Science, asked by anamtakhan3434, 3 months ago

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?
hardikambitious007: plz reply fast

Answers

Answered by nachiket95
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