+ 5
The comfortable relative humidity for humans is between 40% and 60%. The given program takes the percent of humidity as input.
My code out = int(input()) #your code goes here if out >= 39 and out <= 60: print ("norm") elif out >= 59 and out <= 200: print ("inclusive") Only one sample is not right. What should I do with this code.
5 Respuestas
+ 2
Om Maurya
send your complete question link or paste it here?
+ 1
I think it's not necessary to use elif statement.
Please read the task once.
+ 1
if humidity>=40 and humidity<=60:
print("norm")
0
why are you including 39 when it's 40 their, write 40 their or just more than 39
and why include 59 because 59 is between 40 and 60 so it will say normal
write just more than 60 instead of 59
if out > 39 and out <=60
elif out > 60 and out <=200
0
Not working