What's wrong with the py code? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

What's wrong with the py code?

temp = int(input()) if temp >=100: print("Boiling")

4th Nov 2022, 10:40 AM
Sanjid Hasan
Sanjid Hasan - avatar
1 ответ
+ 3
the code block in the if-statement is not indented. Check the given examples again and pay attention to indentation.
4th Nov 2022, 10:43 AM
Lisa
Lisa - avatar