Question
We’ve stored numbers and strings in variables so far, what else can Python store in a variable?
Answer
Python variables can store:
-
Characters (single characters, like ‘c’)
-
Strings (“sentences wrapped in quotation marks, like this one”)
-
Numbers (integers and floating point numbers)
-
Booleans (True or False)
-
Data structures (lists, tuples, dictionaries - you’ll learn about these later)