mirror of
https://github.com/balkian/gists.git
synced 2024-11-22 01:32:29 +00:00
This commit is contained in:
parent
ba4bb85a92
commit
0dfa2fb286
@ -1,3 +1,6 @@
|
|||||||
|
a=set([1,2,3,4])
|
||||||
|
b=set([4,5,6,7])
|
||||||
|
c=set([7,8,9])
|
||||||
def array_combinations(*args):
|
def array_combinations(*args):
|
||||||
combinations = [[i] for i in set(args[0])]
|
combinations = [[i] for i in set(args[0])]
|
||||||
for arg in args[1:]:
|
for arg in args[1:]:
|
||||||
|
Loading…
Reference in New Issue
Block a user