Rename file
This commit is contained in:
parent
176bded3d6
commit
9276695913
9
Chapter_06/6-01_person.py
Normal file
9
Chapter_06/6-01_person.py
Normal 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'])
|
||||||
Loading…
x
Reference in New Issue
Block a user