[Tutor] how to write a function
Kent Johnson
kent37 at tds.net
Mon Mar 24 14:07:29 CET 2008
Bartruff, Pamela J. wrote:
> Hello Python users,
>
> I am very new to Python, how do I program that converts 24 hour time to
> 12 hour time? The program should have three functions(input, conversion
> and output function)
This sounds like a homework assignment. We will help with homework but
we won't do it for you.
Do you know how to write a function? What is the time format? Where does
the input come from? What have you tried so far?
Kent
More information about the Tutor
mailing list