title: python iterate over team combinations
body: <p>I have a list of 10 players, each with a respective skill score. I'm trying to organise them into 2 teams of 5, where the total skill score of each team is as close as possible.</p>
  
  <p>Iterating over every combination is obviously not very efficient as identical teams will occur.</p>
  
  <p>Is there a python library or function that can either efficiently solve this problem or at least just iterate over the correct combinations?</p>
  
  <p>Iterating over 10! combinations isn't so bad if that is the easiest answer.</p>