# int() float() # str() a = 1 b = '1' print( a+a , b+b ) a= str(a) b = int(b) print(a+a,b+b) a= (1,2,3,4,5) b=list(a) print(b) a=[1,2,3,4] b=['a','b','c','d'] d = dict(zip(a,b)) print(d) list2=[] list1=list() print(list2) print(list1) #집합 - 순서가 없고 중복 없음 a=[1,2,3,3,3,2,4,5,1,2,3,56,4,6] print(a.count(3)) b= set(a) print(b) b= list(b) print(b)
To embed this project on your website, copy the following code and paste it into your website's HTML: