"Python values()"의 두 판 사이의 차이

(새 문서: ==개요== ;파이썬 Dictionary * Dictionary 내 Value 값만 출력 ==Dictionary values()함수== <source lang='python' run> alphabet = ["A":1, "B":2, "C":3,"D":4,"E":5,"F":6,"G":7...)
 
5번째 줄: 5번째 줄:
==Dictionary values()함수==
==Dictionary values()함수==
<source lang='python' run>
<source lang='python' run>
alphabet = ["A":1, "B":2, "C":3,"D":4,"E":5,"F":6,"G":7,"H":8]
alphatbet = {}
alphabet = {"A":1, "B":2, "C":3,"D":4,"E":5,"F":6,"G":7,"H":8}
print(alphabet.values())
print(alphabet.values())
</source>
</source>

2020년 2월 15일 (토) 11:52 판

1 개요

파이썬 Dictionary
  • Dictionary 내 Value 값만 출력

2 Dictionary values()함수

alphatbet = {}
alphabet = {"A":1, "B":2, "C":3,"D":4,"E":5,"F":6,"G":7,"H":8}
print(alphabet.values())
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}