업그레이트 (UpGreate)

- 威武不屈


  • Home

  • Categories

  • About

  • Archives

  • Tags

  • Search

python_딕셔너리

Posted on 2019-08-13 | In LANGUAGE

딕셔너리란?

  • 임의의 객체 집합적 자료형이며 순서는 없고 키를 통해 값을 찾는 맵핑형이다.

선언법

1
2
3
4
5
#방법 1
d = dict(a=1,b=2,c=3)

#방법 2
d = {'a':1, 'b':2, 'c':3}

함수로 선언할 땐 =

괄호로 선언할 땐 :

# Python
SW Expert Academy - D2_1946
SW Expert Academy - D2_1945
  • Table of Contents
  • Overview
Sik

Sik

156 posts
7 categories
30 tags
RSS
  1. 1 선언법
© 2021 Sik
Powered by Jekyll
Theme - NexT.Muse