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

Those have an "in" keyword that makes it much more obvious what's going on. And none of them have the "count" variable that pops up in a loop but is somehow accessible outside it.


In python variables introduced in a loop are definitely accessible outside of it...




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

Search: