Computer Science, asked by amishatigga3265, 8 months ago

Identify and correct the problem with following code-
countdown=10
while countdown > 0:
print(countdown, end='')
countdown - 1
print("Finally.")​

Answers

Answered by AabhaNJ
4

Answer:

I think its python code.

If it is so then the problem is with the indentation. Below is the correct code :-

while countdown > 0 :

print(countdown, end='')

countdown - 1

print("Finally.")

u can give indentation by pressing tab key.

Similar questions