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

Similarly, I thought "from fractions import Fraction" required a `pip install fractions`. But nope, turns out fractions is a built-in module I've never heard of. Neat!


Similarly, one of the most suprising things for me was that complex numbers are built into the language (no imports at all).




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

Search: