0

Good morning. Who helps me?

Write a program that checks if the water is boiling. It takes the entire temperature in centigrade as the input and the output "Boiling" if the temperature is greater than or equal to 100. Homework: temp = int(input())

11th Jan 2022, 11:42 AM
Jefferson Jesus Beleño Suarez
Jefferson Jesus Beleño Suarez - avatar
6 Respostas
+ 1
Post your attempt please
11th Jan 2022, 11:43 AM
Slick
Slick - avatar
+ 1
Hint: Use an if-statement and print using print() If you need further help, please link your complete code attempt
11th Jan 2022, 11:44 AM
Lisa
Lisa - avatar
+ 1
What's wrong ? Does your code work ?
13th Jan 2022, 2:33 AM
Saydimurod Qodirjonov
Saydimurod Qodirjonov - avatar
0
Your if-statement lacks the ":" in the end. Mind that indentation is critical in Python: Please check the indentation again. Also, the output string needs to match exactly the one in the task description
11th Jan 2022, 12:16 PM
Lisa
Lisa - avatar
0
if temp >= 100: you just miss the :
15th Jan 2022, 5:25 AM
Khairul Anuar
- 1
Lisa temp = int(input()) if temp >= 100 print ("boiling")
11th Jan 2022, 12:04 PM
Jefferson Jesus Beleño Suarez
Jefferson Jesus Beleño Suarez - avatar