Y
Hacker News
new
|
ask
|
show
|
jobs
by
im3w1l
846 days ago
In python 2, '/' creates integers, and the article was written in 2010 when python 2 was the most used by far.
1 comments
lalaithion
846 days ago
from the link:
> PS. Note that I am using // instead of / -- this is Python 3 syntax
link
im3w1l
846 days ago
Oh. Right.
link
> PS. Note that I am using // instead of / -- this is Python 3 syntax