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

No, but it's clear that it returns a list out of "a".


My guess upon seeing list(a) for the first time would have been that it returns [a], which is worse than not knowing what it does.

Possibly this is because I've known lisp longer than python.


I agree. I write Python all the time, and I would have expected something like list(*a).




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: