initializing dictionary ptyhon code example Example: python dict initialize a = {'import': 'trade', 1: 7.8} # OR a = dict({'import': 'trade', 1: 7.8})