Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
im3w1l
2y ago
0 comments
Share
In python 2, '/' creates integers, and the article was written in 2010 when python 2 was the most used by far.
0 comments
default
newest
oldest
lalaithion
2y ago
from the link:
> PS. Note that I am using // instead of / -- this is Python 3 syntax
im3w1l
OP
2y ago
Oh. Right.
j
/
k
navigate · click thread line to collapse