0
Whenever i put a if statement and start typing next this happens
indentation error:expected an indented block please help
3 odpowiedzi
+ 4
if 5==5:
print("hello")
⬆️indentation
It has to come after if,while statements,function declarations,e. t.c
0
you need to give indentation (White spaces using TAB) after if condition in python
- 1
You need indentation : space or tab. You need to use the same indentation for a block.