SyntaxFix
Write A Post
Hire A Developer
Questions
What about a simple while loop?
while times > 0: do_something() times -= 1
You already have the variable; why not use it?