Note that this site is in currently in version 1.0.0-alpha.   Some functionality may be limited.


A variable is a name that is assigned to a value, and it stores data for future use. Variable assignment uses a single =. The name given is on the left of the =, the value is on the right of the =. Assignment looks like this:

x = 3
name = "Patrick"
name2 = "Ignatz"
grocery_list = ["tomato", "limes", "chocolate"]


Learn more about variables on w3schools.

Lessons referring to this term