Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Download: https://solutionzip.com/downloads/firstreoccuringchar/
- For a given list L, generate a list of lists which contain all subsets of L. You are not allowed to use Python helper packages to do this. Your code should word for any L.
- input:
- L = [1,2]
- output:
- [[],[1],[2],[1,2]]
- Download: https://solutionzip.com/downloads/firstreoccuringchar/
Add Comment
Please, Sign In to add comment