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

minor point but your python code creates a generator here not an array, you'd have to wrap it in a `list()` to get the same data type and be able to for example assert its length (of course you can just iterate over the generator)


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

Search: