[issue25938] if sentence doesn't work with input()

Benjamin Peterson report at bugs.python.org
Thu Dec 24 02:02:17 EST 2015


Benjamin Peterson added the comment:

In Python 2, input() is basically equivalent to eval(raw_input()). In Python 3, input() is the same as raw_input() in Python 2. This explains the difference.

----------
nosy: +benjamin.peterson
resolution:  -> not a bug
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25938>
_______________________________________


More information about the Python-bugs-list mailing list