User Input
eharetea

Get user input.

Python user input!

Date Created:Friday December 29th, 2006 03:41 AM
Date Modified:Friday August 01st, 2008 02:05 AM

# raw_input returns a string:
x = raw_input("Please Enter a number: ")

# input returns an object that's the result of evaluating the expression:
x = input("Please Enter a number: ")