Hacker News new | ask | show | jobs
by inhumantsar 330 days ago
IIRC you're correct, but the comment is a red herring.

In Python, the double slash (or type casting) is necessary as a single slash will yield a float by default. Double slash returns an int.