Python

Basic Python coding for everyone

To make the user's answer to be the variable (such as their name), raw input can be used.

For example:

>>> name = raw_input("What is your name? ")

Thus, the concept of it is....

__variable__ = raw_input("the question")

6 comments:

Rawren said...

A nice simple tip just in case someone has a slip of the mind. :)

Beatrice Odunusi said...

thanks for this explanation, it has really help me

Unknown said...

this page has made me understand more about python with basic commands that are important when learning python.

Unknown said...

i never really got python to be honest lool

Unknown said...

this is one of the basics i have seen so far :p

Zakuro Mye said...

Thank you so much everyone for your positive comments so far. ^^

Post a Comment