Dictionary DataType

Programming/Python

[Python-Basic] Dictionary Data Type - 2

current_price = {'Daum KAKAO': 2, 'naver':1, 'wooaBrothers':3} print(current_price) # get all keys of dictionary object # keys() function return type is not list object print(current_price.keys()) # Should be change object type to list type list(current_price.keys()) list_keys = list(current_price) print(list_keys) # Extract values of each item in the dictionary list_value = list(current_price.v..

JohnMark
'Dictionary DataType' 태그의 글 목록