iNTERFACEWARE Products Manual > Learning Center > Learning Python > Working With Values and Variables > Variables > Examples of Variables |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The following are examples of variables in Python:
A variable can be any collection of letters, digits and underscore (_) characters, except that the first character cannot be a digit. Also, you cannot use a reserved word as a variable: a reserved word is anything that has a predefined meaning in Python. (Examples of reserved words include if and else, which are discussed in Conditional Statements and Loops.)
Note that variables in Python are case sensitive. This means that it matters whether you use capital letters or not. For example, the following variables are all different:
|