# Write a method that returns all subsets of a set.
#
# From the section on recursion
#
# Non-recursive solution featuring itertools:
# https://stackoverflow.com/questions/374626/how-can-i-find-all-the-subsets-of-a-set-with-exactly-n-elements?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

def subs(s):
    """
    input: s is a set
    returns: all possible subsets
