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
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor