GMgKe586q6suSQnyqZLlGCooeWM

Pages

Search

Sunday, December 19, 2010

Python Input Prompt

It's also simple to make input in Python, just use:

>> name = raw_input("Type your name: ");

The code above will prompt user to type the text on prompt and what user type will be embed to the variable value. It's okey without argument.
Share/Bookmark

No comments:

Post a Comment