본문 바로가기 메뉴 바로가기

니즈 개발 일기

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

니즈 개발 일기

검색하기 폼
  • 분류 전체보기 (47)
    • Development (47)
      • Python (13)
      • Go (1)
      • Cloud (2)
      • Algorithms (8)
      • Docker and k8s (7)
      • Javascript (1)
    • Product Review (0)
    • Books (0)
    • ETC (0)
  • 방명록

beginner (1)
[python] dictionary 기본

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
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • LLM
  • book
  • kubens
  • 키보드
  • K8S
  • go
  • AWS
  • Shell
  • palindrome
  • docker
  • 나는리뷰어다
  • csv
  • feed-forward
  • lllm
  • 책리뷰
  • Gemma
  • Algorithm
  • Git
  • Binary
  • leetcode
  • Fine-Tuning
  • Python
  • Container
  • kubernetes context
  • BASIC
  • Kubernetes
  • collator
  • 한빛미디어
  • error
  • 파이썬
more
«   2026/02   »
일 월 화 수 목 금 토
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
글 보관함
반응형

Blog is powered by Tistory / Designed by Tistory

티스토리툴바