publicMasters/python/3/exoW3.py

9 lines
229 B
Python
Raw Normal View History

2022-10-26 14:07:56 +02:00
num = int (input("Entrer un nombre entre 10 et 20 (compris): "))
while num <= 10 or num >= 20:
if num < 10:
print("Trop faible")
else:
print("Trop élevé")
num = int(input("Recommencer: "))
print("Merci!")