fin cours 3

This commit is contained in:
pvalarcher
2022-10-26 18:22:20 +02:00
parent a261e7597e
commit 1b77a88561
8 changed files with 86 additions and 3 deletions

13
python/3/exo33.py Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env python3
n = int (input("rentrer un nombre: "))
coupdavant = n
while n < 5:
coupdavant = n
n = int (input("rentrer un nombre: "))
print("Dernière valeur : ", coupdavant)