initial creation
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
#!/usr/bin/env python
|
||||
#
|
||||
|
||||
people = [ # <1>
|
||||
('Joe', 'Schmoe', 'Burbank', 'CA'),
|
||||
('Mary', 'Rattburger', 'Madison', 'WI'),
|
||||
('Jose', 'Ramirez', 'Ames', 'IA'),
|
||||
]
|
||||
|
||||
def person_record(first_name, last_name, city, state): # <2>
|
||||
print("{} {} lives in {}, {}".format(first_name, last_name, city, state))
|
||||
|
||||
for person in people: # <3>
|
||||
person_record(*person) # <4>
|
||||
Reference in New Issue
Block a user