Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Dilpil
on Dec 8, 2008
|
parent
|
context
|
favorite
| on:
What is the most intrusive wart on your favourite ...
If your working with integers, 1 div 3 is indeed zero.
Zaak
on Dec 8, 2008
[–]
That makes sense in a language like C, but in Python there's no telling if you've got integers or floats at the point the division happens.
I'm very happy it's fixed in Python 3.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: