Looping through data
for user in data["users"]: print(f"{user['name']} is {user['age']} years old.") ```
⚠️ Common Mistake: load() vs loads()
Beginners often confuse these two functions.
* Use json.load(file_object) when reading directly from a file.
* Use json.loads(json_string) (the "s" stands for string) when you have JSON data stored in a string variable.
```python import json
