# 6.14:  Looping through:  list of dicts.

# Loop through each item in the list and print it (each item is a dict).  Then instead of printing
# each dict, print the city value for each dict (Louisville, New York, Lancaster).  Use 'for' with a
# dict subscript.

lod = [
   {
      'name': 'Apex Pharma',
      'city': 'Louisville',
      'state': 'KY',
   },
   {
      'name': 'Beta IT',
      'city': 'New York',
      'state': 'NY',
   },
   {
      'name': 'Gamma Husbandry',
      'city': 'Lancaster',
      'state': 'PA',
   },
]


# Expected Output:

# Louisville
# New York
# Lancaster

