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

I believe he meant:

    all = range()
    allbut2 = all
    allbut2.remove(2)
which is something that catches people all the time.


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

Search: