Samuel Vermeulen 5 months ago
parent
commit
411d9560a1
  1. 2
      tempalert.py

2
tempalert.py

@ -4,7 +4,7 @@ tempMax = int(input())
temp = 0
tempValid = True
while temp <= nbMesures and tempValid:
while temp < nbMesures and tempValid:
temperature = int(input())
tempValid = (tempMin <= temperature and temperature <= tempMax)
if tempValid:

Loading…
Cancel
Save