[Tutor] Calendar question
John Carmona
jeannot18 at hotmail.com
Tue Apr 5 22:08:47 CEST 2005
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).
---------------------------------------------------------------------------------------------
I have been looking for a while about doing a conversion routine (using a
dictionary??), are you saying that I should convert a string (January,
February, etc.) into integers. Could you please give me some light (do not
write the code please but just point me to the right direction if you can)
Many thanks
JC
More information about the Tutor
mailing list