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

Or, just use the non short circuiting "&" instead of "and"


Cool, I didn't know that would work in python in this case (testing shows it does). Thanks :)




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: