However, onpon4 is correct to point out that an operation is performed on the data given to the input() function in Python 2. This is the eval operation:
eval(raw_input(prompt))
You can learn about this and many other details of Python here: https://docs.python.org/2/library/functions.html#inputJust make sure you are reading the documents for the version of Python you are working with.
