+ 1
What is identation error?
2 Respuestas
+ 3
that only occur in python to my knowledge, and that error only occur when you do not format your code properly, python consider white space as syntax too
+ 2
It's about spaces and tabs.It mostly happens in python and languages like it.
In python you have to write main codes without spaces in the beginning of line and you use tabs for making function. So this two code bellow will occur indentation error:
print('hi')
print("what's up?")
--------------------------------
def say_hi():
print('hi')