창슈 Area
close
프로필 배경
프로필 로고

창슈 Area

  • 분류 전체보기 (100)
    • LANGUAGE (0)
      • JavaScript (15)
      • SQL (24)
      • Python (45)
      • Java (1)
      • 개발 Tip (1)
    • SPRING FRAMEWORK (5)
    • MSSQL (3)
    • ELASTIC SEARCH (1)
    • Review (1)
Python dictionary (딕셔너리)

Python dictionary (딕셔너리)

Python에서 dictionary 자료형에 대해 살펴보겠습니다. dictionary는 key와 value로 이루어진 집합입니다. 순서가 없기때문에 key를 통해 value를 얻습니다. 1. dictionary의 선언 dictionary는 중괄호로 선언하거나 dict()로 선언할 수 있습니다. >>> dictA = {'name': 'Aiden', 'age': 24} >>> dictA {'name': 'Aiden', 'age': 24} >>> type(dictA) >>> dictB = dict(name = 'Aiden', age = 24, grade = 'B') >>> dictB {'name': 'Aiden', 'age': 24, 'grade': 'B'} >>> type(dictB) 2. dictionar..

  • format_list_bulleted LANGUAGE/Python
  • · 2021. 8. 4.
  • textsms
  • navigate_before
  • 1
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (100)
    • LANGUAGE (0)
      • JavaScript (15)
      • SQL (24)
      • Python (45)
      • Java (1)
      • 개발 Tip (1)
    • SPRING FRAMEWORK (5)
    • MSSQL (3)
    • ELASTIC SEARCH (1)
    • Review (1)
최근 글
인기 글
최근 댓글
태그
  • #JavaScript 기본문법
  • #PYTHON
  • #Python tkinter
  • #javascript
  • #Python Crawler
  • #MSSQL
  • #sql
  • #spring
  • #자바스크립트
  • #파이썬
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바