So when I do something like this :
x=str(19072000)
day=x[:2]
month=x[2:4]
year=x[4:]
final=day+"/"+month+"/"+year
print(final)
I get:19/07/2000
>>>x=str(01011930)
File"(Stdin)",line 1
x=str(01011930)
^
SyntaxError:invalid token
But when i try to do the same thing but with 01011930 i get SyntaxError:invalid token,any ideas why?