Variable


#1

how do you create a variable?


#2

To create a variable in python, you simply type out whatever you want the name of the variable to be and set it equal to an acceptable value. Here are some examples:

myVariable = 14
something = True
nothing = False
somethingElse = "This is a string."

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.