In article <8d4ec1df-dddb-469a-99a1-695152db7...@n4g2000vba.googlegroups.com>,
Ross  <ross.j...@gmail.com> 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 (a...@pythoncraft.com)           <*>         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

Reply via email to