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

Everyone seems to forget nested comprehensions

  [x + y for x in [1,4,9] for y in [2,4,6] if x < y]


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

Search: