Beispiel #1
0
def command_make_union(args):
    result = set()
    for s in utils.read_many_sets(args):
        result |= s
    utils.write_set(result)
Beispiel #2
0
def command_make_intersection(args):
    result = set()
    for elem in utils.read_many_sets(args):
        result &= elem
    utils.write_set(result)