将列表转换为一组更改元素顺序
listset
x=[1,2,20,6,210]print x # [1, 2, 20, 6, 210] # the order is same as initial orderset(x)# set([1, 2, 20, 210, 6]) # in the set(x) output order is sorted
慕哥6287543
牧羊人nacy
慕勒3428872
有只小跳蛙
随时随地看视频慕课网APP
相关分类