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

You're in for a nasty surprise if (for whatever reason) this code is executed using Python 2:

https://docs.python.org/2/library/functions.html#input

    Equivalent to eval(raw_input(prompt)).


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

Search: