파이썬 (python) dic 기초 예제
# chapter 03_5 # 파이썬 딕셔너리 # 범용적으로 가장 많이 사용 # 딕셔너리 자료형(순서x, 키 중복x, 수정 가능, 삭제 가능) # 선언 # []리스트 ()튜플 a = {'name' : 'kim', 'phone' : '01012345678', 'birth' : '870514' } b = {0: 'hello python'} c = {'arr' : [1,2,3,4]} d = { 'name' : 'nicemnan', 'city' : 'seoul', 'age' : '33', 'grade' : 'A', 'status' : True } e = dict([ ('name','niceman'), ('city','seoul'), ('age','33'), ('grade','A'), ('Status', True..