L = [x*2 for x in range(10) if x%2==0]
print(L)
print(type(L))
print(isinstance(L,list))
S = {x*3 for x in range(10) if x%2==1}
print(S)
print(type(S))
print(isinstance(S,set))
D = {'name':'tencent','age':20,'condiction':4}
Dict = D.items()#字典的items方法将字典转化为元组列表
print(Dict)
print({v:k for k,v in Dict})