파이썬의 데이터타입은 숫자형, 문자형, 리스트, 딕셔너리, 튜플, 세트, 불(boolean)형이 있다.
숫자형 int와 float, 그리고 복소수형태가 있다.
num = 123 print(num, type(num)) 123 <class 'int'>
str = "hello, python!" print(str, type(str)) hello, python! <class 'str'>