Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revisionBoth sides next revision | ||
devwiki:python [2021/12/16 19:20] – [django] ying | devwiki:python [2022/04/17 05:24] – [data operation] ying | ||
---|---|---|---|
Line 584: | Line 584: | ||
list=[1, | list=[1, | ||
seq=list[:: | seq=list[:: | ||
+ | |||
+ | # list to pair list | ||
+ | info = [' | ||
+ | info_pair = zip(info[:: | ||
+ | # [(' | ||
# list flatten, and remove duplicates | # list flatten, and remove duplicates |