Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
im3w1l
2y ago
0 comments
Save
Share
In python 2, '/' creates integers, and the article was written in 2010 when python 2 was the most used by far.
0 comments
2 comments · 1 top-level
top
newest
oldest
lalaithion
2y ago
· 1 in thread
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