You can do it with list comprehension like this: >>> [(i, j, k) for i in L for j in L for k in L if k > j > i and j % i == 0 and k % j == 0] [(1, 2, 4), (1, ...
確定! 回上一頁