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

Here is another one, list and expression comprehensions shared with ML languages (not that AI one), apparently many aren't aware of them.

The itertools package.



and maybe https://more-itertools.readthedocs.io/en/stable/

never used it but it seems worth a try




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: