Python – How to use raw_input in Python 3

pythonpython-3.x

import sys
print(sys.platform)
print(2**100)
raw_input()

I am using Python 3.1 and can't get the raw_input to "freeze" the dos pop-up. The book I'm reading is for Python 2.5 and I'm using Python 3.1

What should I do to fix this?

Best Answer

Starting with Python 3, raw_input() was renamed to input().

From What’s New In Python 3.0, Builtins section second item.