Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 464 Bytes

variables.md

File metadata and controls

16 lines (11 loc) · 464 Bytes

Variables

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"]

Tutorials