0

Whenever i put a if statement and start typing next this happens

indentation error:expected an indented block please help

24th Apr 2018, 7:02 AM
ved
3 Respuestas
+ 4
if 5==5: print("hello") ⬆️indentation It has to come after if,while statements,function declarations,e. t.c
24th Apr 2018, 7:06 AM
᠌᠌Code X
᠌᠌Code X - avatar
0
you need to give indentation (White spaces using TAB) after if condition in python
24th Apr 2018, 7:05 AM
kaliki chandu
kaliki chandu - avatar
- 1
You need indentation : space or tab. You need to use the same indentation for a block.
24th Apr 2018, 7:05 AM
jerome