Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Python 3, 1/0 is floating point division. 1//0 would be integer division.


Right, Python2 is still the default on Debian, so I didn't notice.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: