Hi, if someone can help me, because I have try to solve this boiling water exercise but it appears that I am making a mistake | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi, if someone can help me, because I have try to solve this boiling water exercise but it appears that I am making a mistake

I'm doing it this way, temp=int(input()) If temp >100: Print('Boiling') And is not working. And it doesn't appears the notice for putting the temperature, and I try this other way Temp=105 If temp > 100: Print('Boiling') And it worked in the code play ground as well the first one but just only in the code play ground, if anyone know how to do it the right way, please tell me because when am trying to make other exercise where the input command happens the same, thank you

9th Jan 2021, 3:31 AM
Alan Restrepo
Alan Restrepo - avatar
6 Answers
+ 9
anthony silver Simba already gave the hint. He does not mean just greater than 100 but also equal to 100 Remember that 100 is the boiling point.
9th Jan 2021, 3:45 AM
noteve
noteve - avatar
+ 11
What happens to water if temperature = 100 🤔
9th Jan 2021, 3:42 AM
Simba
Simba - avatar
+ 1
anthony silver It works well.
9th Jan 2021, 3:42 AM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
+ 1
Simba No Output.
9th Jan 2021, 3:43 AM
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜
˜”*°•.˜”*°• Mohan 333 •°*”˜.•°*”˜ - avatar
+ 1
Ok, so I have to do it with the (>=)?
9th Jan 2021, 3:47 AM
Alan Restrepo
Alan Restrepo - avatar
0
So I don't need to put the input?
9th Jan 2021, 3:44 AM
Alan Restrepo
Alan Restrepo - avatar