0

I have started learning today the python. And during my lecture on variables I found that whenever I try to assign a value starting with 0 it gives:

syntax error :Invalid token

Like

zip=01290
zip=01

but when I tried simple

zip=0

it does not give any error.

I guess I am writing the code right because I have checked the syntax on internet.

Is it a problem in python or something else?

4

0 回答 0