I typed this exact code but it doesn't work no matter what I do. if 10 > 5: print("10 is greater than 5") | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I typed this exact code but it doesn't work no matter what I do. if 10 > 5: print("10 is greater than 5")

26th Feb 2017, 3:03 PM
TheSainMan
TheSainMan - avatar
3 Answers
+ 1
if (10> 5): print (" ") write like this, indent print after if statement. share your code link to make it working.
26th Feb 2017, 3:32 PM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
0
try to indent the print statement
26th Feb 2017, 3:27 PM
basusu
0
what ?
26th Feb 2017, 3:30 PM
TheSainMan
TheSainMan - avatar