0

Error message

what this error message ? IndentationError: expected an indented block code :- if 10>4: print("10 is greater the 4") print ("end the run")

1st Dec 2018, 7:26 PM
MirzaZaid Baig
2 Réponses
+ 9
Indentation (spacing) should be properly maintained in Python. Notice the space I've used in the 2nd statement. It specifies which lines should be executed if the condition is true. if 10>4: print("10 is greater the 4") print ("end the run")
1st Dec 2018, 7:32 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 1
Okay i get your points thnk you so much
1st Dec 2018, 7:34 PM
MirzaZaid Baig