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

`[(y,x)]` is the same thing as `[y,x]`

`,` creates a tuple, not parentheses (empty tuple is an exception).



Thank you, didn't know this!

Code updated.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: