import pprint bob = {'name': 'Bob Smith', 'age': 42, "pay": 30000, "job": "dev"} sue = {'name': 'Sue Jones', 'age': 45, "pay": 40000, "job": "hdw"} db = {'bob': bob, 'sue': sue} print(db) pprint.pprint(db)
import pprint bob = {'name': 'Bob Smith', 'age': 42, "pay": 30000, "job": "dev"} sue = {'name': 'Sue Jones', 'age': 45, "pay": 40000, "job": "hdw"} db = {'bob': bob, 'sue': sue} print(db) pprint.pprint(db)