fin cours 3
This commit is contained in:
13
python/3/exo33.py
Executable file
13
python/3/exo33.py
Executable 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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user