摘要: import itertools lst = [112, 123, 98, 132, 120] list(itertools.permutations(lst,2)) # 输出: # [(112, 123), # (112, 98), # (112, 132), # (112, 120), # (1 阅读全文
posted @ 2021-07-02 10:08 jingsupo 阅读(215) 评论(0) 推荐(0) 编辑

欢迎光临