publicMasters/python/3/exo33.py

13 lines
194 B
Python
Raw Normal View History

2022-10-26 18:22:20 +02:00
#!/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)