字典(索引不好用):

brand = ['lining','naike']

slogn = ['nothing is impossible','just do it']

print(brand[0],slogn[0])

 

dict1 = {'lining':'nothing is impossible','naike':'just do it'}

dic2 = dic('a'='ab','b'='bc')

集合(在我的世界你就是唯一)不支持索引

type({1,2,3,4}) =>set

set1 = set([1,2,3,4])

num1 = [1,2,3,4,5,4,3,2,1]
temp =[]
for each in num1:
    if each not in temp:
        temp.append(each)

list(set(num1))

num2 = frozenset([1,2,3,4])