So I was working on a python program and by mistake added a 0 in the number while inputting it, as
n = 01
It showed the following error:-
File "<ipython-input-50-2724200336d1>", line 1
n = 01
^
SyntaxError: invalid token
Why does this happen?