Python : While

De www.yakakliker.org
Révision datée du 26 mars 2024 à 10:30 par Administrateur (discussion | contributions) (Page créée avec « <syntaxhighlight lang="python3"> i = 0 while i <= 20: reponse = input("Entrez un entier supérieur à 20 : ") i = int(reponse) print(i) </syntaxhighlight> Catégorie:Python Catégorie:Scripts »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
i = 0
while i <= 20:
  reponse = input("Entrez un entier supérieur à 20 : ")
  i = int(reponse)
print(i)