pkumar pkumar - 4 months ago 9
Python Question

What's the difference between raw_input() and input() in python3.x?

What is the difference between

raw_input()
and
input()
in python3.x ?

Answer

The difference is that raw_input() does not exist in Python 3.x, while input() does. Actually, the old raw_input() has been renamed to input(), and the old input() is gone (but can easily be simulated by using eval(input())).