Code works fine except...
ross.jett at gmail.com
Mon May 4 16:27:27 EDT 2009
On May 4, 12:15 pm, a... at pythoncraft.com (Aahz) wrote:
> In article <8d4ec1df-dddb-469a-99a1-695152db7... at n4g2000vba.googlegroups.com>,
> Ross <ross.j... at 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... at pythoncraft.com) <*> http://www.pythoncraft.com/
> "It is easier to optimize correct code than to correct optimized code."
> --Bill Harlan
Yes... I know this. Unfortunately, copy/pasting my code from the IDE
into the google group messes with indentations.
More information about the Python-list