#!/usr/bin/env python3

def join_sets(s1, s2):
    v = (s1 | s2)
    return v
#join_sets will return a set that contains every value from both s1 and s2
def match_sets(s1, s2):
    allv = (s2.intersection(s1))
    return allv
# match_sets will return a set that contains all values found in both s1 and s2
def diff_sets(s1, s2):
    nsb = s1 ^ s2
    return nsb


if __name__ == '__main__':
    set1 = set(range(1,10))
    set2 = set(range(5,15))
    print('set1: ', set1)
    print('set2: ', set2)
    print('join: ', join_sets(set1, set2))
    print('match: ', match_sets(set1, set2))
    print('diff: ', diff_sets(set1, set2))
