Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
(Move to ...)
Home
Me
▼
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.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment