Completed Exercise 6-1 Person

This commit is contained in:
cheeks 2025-01-26 14:49:50 -05:00
parent 799a9badda
commit 176bded3d6

9
Chapter_06/6-1_person.py Normal file
View File

@ -0,0 +1,9 @@
# 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'])