Fiverr Inc. Interview Question

Implement the power set python problem.