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:
A nice simple tip just in case someone has a slip of the mind. :)
thanks for this explanation, it has really help me
this page has made me understand more about python with basic commands that are important when learning python.
i never really got python to be honest lool
this is one of the basics i have seen so far :p
Thank you so much everyone for your positive comments so far. ^^
Post a Comment