Back Navigation Next Navigation Video 4: Variables & Expressions (page 1 of 7)

Variables are storage containers. Said differently, a variable is a memory location that is used to store something such that we can reference it later. In Python, variable names must start with an underscore or a letter

Good: spam eggs spam23 _speed
Bad: 23spam #sign var.12

Python has no command for declaring a variable. A variable is created when you first assign a value to it. Variable names are case sensitive in Python.

Different: spam Spam SPAM