"Python 딕셔너리"의 두 판 사이의 차이

4번째 줄: 4번째 줄:
;파이썬 딕셔너리 ( key & value )
;파이썬 딕셔너리 ( key & value )
* 예: {'a':1, 'b':2}
* 예: {'a':1, 'b':2}
<syntaxhighlight lang='python' run>
mydict1 = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
print(mydict1)
</syntaxhighlight>


==같이 보기==
==같이 보기==

2021년 8월 6일 (금) 10:42 판

1 개요

Python Dictionaries
Python dictionary, dict
파이썬 딕셔너리 ( key & value )
  • 예: {'a':1, 'b':2}
mydict1 = {
  "brand": "Ford",
  "model": "Mustang",
  "year": 1964
}
print(mydict1)

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}