Using input and raw input

suggest change

raw_input will wait for the user to enter text and then return the result as a string.

foo = raw_input("Put a message here that asks the user for input")

In the above example foo will store whatever input the user provides.

input will wait for the user to enter text and then return the result as a string.

foo = input("Put a message here that asks the user for input")

In the above example foo will store whatever input the user provides.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Basic Input and Output:
*Using input and raw input

Table Of Contents
14Basic Input and Output
31Set
166Gzip