Data Types
Python includes several built-in types you will use in every program.
- str
- int
- float
- bool
- list
- tuple
- dict
- set
text = "hi"
nums = [1, 2, 3]
user = {"name": "Alex", "score": 95}
print(text, nums[0], user["score"])Try it Yourself
Run this PYTHON example in your local environment or course sandbox.