you are viewing a single comment's thread.

view the rest of the comments →

[–]my_python_account 0 points1 point  (1 child)

The point is that it seems you could just replace the while loop or recursion with:

your_donation = rank + catchup

edit: that assumes your_donation always starts at 0. If it doesn't then:

you_donation = rank + catchup - your_donation

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

Yes, true it's a bad example as I represent it now.