0

Can someone correct my code

Beginner here. Trying to get the output boiling, but when I run it, it returns 105boiling. Can someone please tell me where I am going wrong? temp= int(input(105)) if temp >= 100: print("boiling")

20th Nov 2022, 8:41 AM
Sarah Brown
Sarah Brown - avatar
2 Respuestas
+ 3
temp = int(input()) DO NOT write anything inside of the input() function
20th Nov 2022, 8:52 AM
Lisa
Lisa - avatar
+ 3
It prints 105boiling, because text inside input command connects with your input. It would look better if there was text inside rather than a number followed by space. Do not insert anything inside input parenthesis if they don't ask you to.
20th Nov 2022, 9:43 AM
tnaa
tnaa - avatar