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

I've programmed Python before but I had to fire up a REPL to know that:

    True * "String"
    >"String"
And...

    not 0
    >True
I guess knowing the "truthiness" of all regular Python types is useful.


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: