In article <[email protected]>, Ross <[email protected]> wrote: > >def test_round_robin(players, rounds, courts, doubles = False): > players = range(players) > for week in round_robin(players,rounds,courts): > if doubles == True: > doubles_week = len(week)/2.0 > byes = doubles_week - courts
Side note: thou shalt indent four spaces, no more, no fewer For more info, see PEP 8. -- Aahz ([email protected]) <*> http://www.pythoncraft.com/ "It is easier to optimize correct code than to correct optimized code." --Bill Harlan -- http://mail.python.org/mailman/listinfo/python-list
