标签:pen blog [] bin for nat app logs pre
def combination_2_n(l): n, r = len(l), [] for i in range(0, n, 1): s = i + 1 for ii in range(s, n, 1): r.append([l[i], l[ii]]) return r
标签:pen blog [] bin for nat app logs pre
原文地址:http://www.cnblogs.com/yuanjiangw/p/7700270.html