Verbose and flexible args and kwargs syntax
Arnaud Delobelle
arnodel at gmail.com
Mon Dec 12 11:15:05 EST 2011
On 12 December 2011 15:36, Terry Reedy <tjreedy at udel.edu> wrote:
> Huh? Funny you should say 'everyday'. It is now 10 o'clock. In 20 hours, it
> will be (10+20) % 12 == 6 o'clock. It is now day 1 of the week. In 9 days it
> will be day (1+9) % 7 == 3 of the week. Mental calculations are helped by
> the fact that (a+b) % c == a%c + b%c
You mean (a + b) % c == (a%c + b%c) % c
:)
--
Arnaud
More information about the Python-list
mailing list