0
What should i do if i want to output nothing if water is not boiling?
temp = int(input(105)) if temp >= 100: print("Boiling") if temp < 100: print(" ")
5 Antworten
+ 2
I guess you can remove the last 2 lines if you want nothing to be outputted if it's not boiling
+ 1
Tareq Elgezawy
Did you read this notes:
"Do not output anything if the water is not boiling."
You don't have to print anything if temp is less than 100
and why did you pass 105
0
I did that but also not working
0
Which exercise is that?
0
If statement