Skip to content

Instantly share code, notes, and snippets.

@skatenerd
Created June 4, 2015 08:17
Show Gist options
  • Save skatenerd/38b8b2b0f34bcb9cf80d to your computer and use it in GitHub Desktop.
Save skatenerd/38b8b2b0f34bcb9cf80d to your computer and use it in GitHub Desktop.
huh
>>> z=01
>>> z=02
>>> z=03
>>> z=1
>>> z=0000000000001
>>> z=0000000000002
>>> z=0000000000006
>>> z=8
>>> z=08
File "<stdin>", line 1
z=08
^
SyntaxError: invalid token
>>> z=0000000000008
File "<stdin>", line 1
z=0000000000008
^
SyntaxError: invalid token
@skatenerd
Copy link
Author

lol, it's octal

>>> 01000 == 512
True

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment