2025-01-26 14:51:13 -05:00

10 lines
260 B
Python

# Exercise 6-1 Person
# Learning Objective: Create and print a dictionary.
person = {'first_name': 'fred', 'last_name': 'guy', 'age': '66', 'city': 'yonkers'}
print(person['first_name'])
print(person['last_name'])
print(person['age'])
print(person['city'])