
Python dictionary는 Key - value 포맷으로 데이터를 저장합니다. Java에서는 hashmap / hashtable 과 유사합니다. Create dictionary d = { 'test2':222, 'test1':111, 'test6':666, 'test5':555, 'test3':333, 'test4':444 } d2 = dict([ ('test2',222), ('test1',111), ('test6',666), ('test5',555), ('test3',333), ('test4',444) ]) >>> print(f'd is {type(d)}') >>> print(f'd2 is {type(d2)}') # Print d is d2 is Accessing data >>> d['test2..
Development/Python
2020. 8. 31. 23:39
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- go
- lllm
- error
- AWS
- Shell
- Kubernetes
- feed-forward
- 파이썬
- Binary
- kubernetes context
- Gemma
- 한빛미디어
- Container
- 책리뷰
- BASIC
- Git
- Algorithm
- docker
- leetcode
- kubens
- K8S
- book
- 키보드
- 나는리뷰어다
- palindrome
- collator
- Fine-Tuning
- csv
- Python
- LLM
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함
반응형