Verbose and flexible args and kwargs syntax
Terry Reedy
tjreedy at udel.edu
Mon Dec 12 10:36:36 EST 2011
More information about the Python-list mailing list
Mon Dec 12 10:36:36 EST 2011
- Previous message (by thread): Verbose and flexible args and kwargs syntax
- Next message (by thread): Verbose and flexible args and kwargs syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 12/12/2011 3:09 AM, Gregory Ewing wrote: > people who don't become programmers, I suspect they never > have much use for remainders in everyday life. 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, so that would actually be 1+2==3. Timekeeping is mostly remaindering, slightly obscured by using 12 instead of 0. -- Terry Jan Reedy
- Previous message (by thread): Verbose and flexible args and kwargs syntax
- Next message (by thread): Verbose and flexible args and kwargs syntax
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list