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 <rep...@bugs.python.org> <http://bugs.python.org/issue25938> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com