Thanks Jacob, I think that should keep me out of the street for a while!
I will get back to you if I have any question
Regards
JC
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
Also, I have been looking for some exercises to do using Python, obviously
(and unfortunately) they need to be at a beginner level. Or better if
anyone wants to send me one to do I would be very grateful
I know a few exercises -- those that I have done. Some are beginner, some
are difficult.
Use
Forgot to Reply-All. Dagnabbit.
-- Forwarded message --
From: Kristian Zoerhoff <[EMAIL PROTECTED]>
Date: Apr 5, 2005 3:33 PM
Subject: Re: [Tutor] Calendar question
To: John Carmona <[EMAIL PROTECTED]>
On Apr 5, 2005 3:08 PM, John Carmona <[EMAIL PROTECTED]>
Kristian you wrote:
-
This assumes all input as integers; if you want months entered by
name, you'll have to write a conversion routine (hint: use a dict).
---
Thanks Kristian, it works a treat. Now you have set me up with finding out
how to use the months entered by name. If I am stuck I will post again.
Thanks very much
JC
___
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
On Apr 5, 2005 11:26 AM, John Carmona <[EMAIL PROTECTED]> wrote:
> But how do you use the prmonth command, if you, for example, want to write
> something asking you:
>
> to enter a year (this I know)
> to enter a month of that year
> and print just the month
>>> import calendar
>>> year = int(raw
I am back, thanks again all to help me sorting out the High_Low guessing
game using time.
Can somebody put me on the right track for the following script. I know how
to use the calendar.prcal command to print the 12 months of choosen year.
But how do you use the prmonth command, if you, for exa