a = 1 user = "" while a < 100 and user != "x": user = input("Exit? (x) ") a = a * 2 print(a)