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

You can also write it this way, which is more similar to C:

  x = (a==42) and f() or g()


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

Search: