dictionary: dic = {'name':'Suk', 'phone':'0119993323', 'birth': '1224'}, a = {1: 'hi'}, a = { 'a': [1,2,3]} defaultdict: a subclass of dict Class which makes dictionary. >>> from collections import defaultdict >>> int_dict = defaultdict(int) >>> int_dict['Key'] 0 >>> int_dict['Key2'] = 'test' >>> int_dict['Key3'] 0 >>> int_dict defaultdict(, {'Key': 0, 'Key2': 'test', 'Key3': 0}) >>> int_dict['K.....
원문 링크 : Python 에서 알아야 할 것들..