Data Structures in Python
Python provides built-in data structures like lists, tuples, dictionaries, and sets.
Lists:
```python
fruits = ["apple", "banana", "cherry"]
print(fruits[1]) # Output: banana
```
Tuples:
```python
colors = ("red", "green", "blue")
print(colors[0]) # Output: red
```
Dictionaries:
```python
person = {"name": "John", "age": 25}
print(person["name"]) # Output: John
```
Sets:
```python
unique_numbers = {1, 2, 3, 3, 2}
print(unique_numbers) # Output: {1, 2, 3}
```