raw_input() was renamed to input() so now input() returns the exact string while old input() was removed in Python 3.x to use the old input(), you need to evaluate a user input as a python statement, you have to do it manually by using eval(input()).