Last active
January 8, 2020 03:44
-
-
Save jakevdp/35ca1023805fca5b78bcd59681634beb to your computer and use it in GitHub Desktop.
Hack to make Python look like C++
Thanks @JanSchultz! I ended up changing it to a slightly different approach
This begs for StreamIO/BytesIO.
you should make it assert dominance
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is fun :-)
Shorter version, by reusing the dict instead of using lists: