0
Why is my code an infinite loop even though I have a counter
https://sololearn.com/compiler-playground/cQRREz0VKcDK/?ref=app
2 ответов
+ 9
Methodical bermuso you didn't indent the counter so it doesn't know when to stop.
while balls > 0:
print("sell")
balls = balls -1
+ 3
Ohh thanks Bro far for the answer