Snatch any course you want for just $15! Go to “Courses” and find a course ↓
Introduction
Reading JSON files
4. Access JSON fields
Summary and Review

Instruction

Great! As you could see, the load() function returns a dictionary with key-value pairs. Because we get key-value pairs, we can choose what element we want to see. If we only wanted to see the user's first name, we could write:

print(user["first_name"])

Exercise

Print only the last name of customer1. Use the last_name field.