2022-2023/2nd/14_Information_Chiffree_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)