+ 1
Second elif
I can't resolve the second part humidity = int(input()) if "humidity >=40" and "humidity<=60": print("norm") elif humidity<40: print( )
2 ответов
+ 5
Remove the quotes from humidity. in the if else statements, because you are checking if humidity is >= 40 etc.
And the print function which has no arguments will output a new line.
And I recommend to go back and read through
+ 1
josé manuel
Anything inside double quotes is string not variable.
No need of elif
Read this line:
"Don't output anything otherwise."
so doesn't make sense to print anything.