sharing/swapping items between lists

samwyse samwyse at
Wed Apr 15 18:29:33 CEST 2009

On Apr 15, 8:56 am, Aaron Brady <castiro... at> wrote:
> The randomizing solution isn't quite suitable for 16 teams.  With 5
> teams/1 court, and 5 teams/2 courts, 6 teams/2 courts, the solution
> comes within seconds.  For 7 teams/3 courts, the solution takes a few
> minutes.

7 teams/3 courts is the same as 8 teams/4 courts, where the extra
player is named "bye".  In other words, it's an uncontrained problem.

More information about the Python-list mailing list