publicMasters/python/3/exoW3.py
pvalarcher bec097d892 cours3
2022-10-26 14:07:56 +02:00

9 lines
229 B
Python

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!")