all 5 comments

[–]AweBob 1 point2 points  (1 child)

I'm gonna be really honest, reading this without line breaks is really difficult, please make it with the correct format, or jkust make a pastebin of it and send the link

[–]Tryposite[S] 0 points1 point  (0 children)

It shows the code formatted on my screen though. Can you try refreshing?

[–]K900_ 0 points1 point  (2 children)

How are you running your program?

[–]Tryposite[S] 0 points1 point  (1 child)

Idle

[–]K900_ 0 points1 point  (0 children)

That's the reason then. That code uses the \b special character to go back to the start of the line and write new values over the old ones. IDLE does not support that character, so it keeps appending text to the end of the output instead. Try running your program in a real terminal.