Hi I am fairly new to python. I am trying to generate a powerset of all combinations for a list of integers, using the recommended code:
def powerset(iterable):