Data structure
List
python
data=[1,2,3]
print(type(data)) # <class 'list'>
Tuple
변경이 불가능
python
data=(1,2,3)
print(type(data)) # <class 'tuple'>
Set
중복 없음
python
data={1,2,3,4,4}
print(data) # 1,2,3,4
print(type(data)) # <class 'set'>
Dictionary
python
data={'a':1, 'b':2, 'c':3}
print(type(data)) # <class 'dict'>