Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 357 Bytes

File metadata and controls

21 lines (13 loc) · 357 Bytes

Contact Log Mini Project

Simple contact grouping by city.

Run

python contact_log.py

Output

{'city_a': ['user_1', 'user_2'], 'city_b': ['user_3']}

Troubleshooting

  • If a TypeError occurs, check the data type before grouping.
  • If an AttributeError appears, make sure you're using the correct method for the object.