population = 7 heure = 0 while population < 10000: heure = heure + 1 population = population * 2 print(heure, population)