noydb <jenn.du...@gmail.com> writes: > Anyone have any good ideas? I was curious to see what people came up > with.
Is this a homework assignment? Some hints: 1) figure out how to compare two month names for chronological order, leaving out the issue of the starting month not being january. 2) figure out how to adjust for the starting month. The exact semantics of the "%" operator might help do this concisely. -- http://mail.python.org/mailman/listinfo/python-list