Michael --

Here's a cut and paste from Pauling House (boyhood home of Portland
*other* famous Linus).

IDLE 1.1.1
>>> import datetime
>>> me = datetime.date(1952,12,17)
>>> dog = datetime.date(1999, 1,2)
>>> print me + (7 * (dog - me)/6)
2006-09-04

This is the real answer the guy wanted.  Mission accomplished.  No
offer of $5 though.

Kirby

On 3/7/06, Michael Tobis <[EMAIL PROTECTED]> wrote:
> # I love Python!
>
> import datetime    # batteries included!
>
> me = datetime.date(1954,9,1)
> dog = datetime.date(2006,3,7)
> print me + (7 * (dog - me)/6)
>
> # mt
>
>
> On 3/7/06, kirby urner <[EMAIL PROTECTED]> wrote:
> > Here's a quick puzzle, that'd make a good source of Python programs,
> > or programs in other languages:
>
_______________________________________________
Edu-sig mailing list
Edu-sig@python.org
http://mail.python.org/mailman/listinfo/edu-sig

Reply via email to