This commit is contained in:
pvalarcher
2022-10-26 14:07:56 +02:00
parent 3238260b03
commit bec097d892
6 changed files with 46 additions and 1 deletions

8
python/3/exoW3.py Normal file
View File

@@ -0,0 +1,8 @@
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!")