python Copy from itertools import combinations A = [10, 5, 'Hi'] temp = combinations(A, 2) for i in list(temp): print (i).
確定! 回上一頁