I am trying to learn Python. I am running into this error. I the Python IDLE3.7.4 i type the following:
If name == 'Mart': print ('Hi Mary') else: print ('Wrong name')
This is the error:
if name == 'mary': print ('hi mary') else:
SyntaxError: unindent does not match any outer indentation level
The 'else' is highlighted as the error.
Can somebody explain why i have the problem. Thank you.