import time number = 0 cando = True number2 = 1 While cando == True print(number) time.sleep(0.05) number = number + number2 if number == 100 number = 0 number2 = number2 * 2