2021-2022/2nd/14_Information_Chiffrée_2/velo.py

8 lines
134 B
Python
Raw Normal View History

annee = 0
montant = 100
while montant < 250:
annee = annee + 1
montant = montant * (1 + 10 / 100)
print(annee)
print(montant)