O'Reilly logo
  • Longxiang Lyu thinks this is interesting:

6-1. Person:

From

Cover of Python Crash Course

Note

person = {'first_name': 'Donald', 'last_name': 'trump', 'city': 'washington'}
for key, value in person.items():
print(key.title() + ": " + value.title())