1
0
mirror of https://github.com/balkian/gists.git synced 2024-11-24 10:22:28 +00:00
This commit is contained in:
J. Fernando Sánchez 2014-02-24 03:32:08 -08:00
parent ba4bb85a92
commit 0dfa2fb286

View File

@ -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):
combinations = [[i] for i in set(args[0])]
for arg in args[1:]: