2016-04-04 7 views

答えて

3

キーワードがcombinationsである必要があります。例:

L = [1, 2, 3] 
Combinations(L, 2).list() 

出力:[[1, 2], [1, 3], [2, 3]]

関連する問題