range를 사용했다.위 코드는 22부터 33까지의 코드를 쓰는 것과 마찬가지다.주의할 점 : 맨끝에자는 포함하지 않는다.는와 같다.
잠깐 설명을 하자면,'리더':'RM'의 경우 '리더'가 KEY값이 되고 RM이 속성값이 되는 것 같다.콘솔값은 다음과 같다.dict_values('RM', '진', '슈가', '제이홉', '지민', '뷔', '정국')dict_keys('리더', '멤버1', '멤버2',
키가 5고 값이 25, 키가 2고 값이 4, 키가 3이고 값이 9콘솔값에는<class 'dict'>이라 나온다.dictionary의 형태가 클래스이기 때문이다.