If the number of iterations is known beforehand; use a for loop instead of while.
if a < b: a = b # a lot faster than using max a = max(a, b)
There was an error while loading. Please reload this page.