4. Using Python, generate all sublists of a list. Note therewill be 2**len(x) subsets of the list x. For example, the list[0,1,2] has seven sublists:[[0],[1],[2],[0,1],[1,2],[0,2],[0,1,2]]. Note that you don’t haveto mind the ordering of each sublist. Also, we don’t care about theempty list ([]). The input to the function should be a list ofunique items to be processed.
PayPal Gateway not configured
PayPal Gateway not configured