2022-2023/2nd/14_Information_Chiffree_2/velo.py
Bertrand Benjamin ab8b3a88da
All checks were successful
continuous-integration/drone/push Build is passing
Feat(2nd): chapitre sur l'information chiffrée 2
2023-03-17 14:29:02 +01:00

8 lines
134 B
Python

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