KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a set of values and would like to create list of all subsets containing 2 elements. For example, a source set ([1,2,3]) has the following 2-element subsets: set([1,2]), set([1,3]), set([2,3]) Is there a way to do this in python?
Tags (comma-separated)
Save Edits
Cancel