[Tutor] script
Danny Yoo
dyoo at hashcollision.org
Mon Mar 30 03:32:17 CEST 2015
On Sat, Mar 28, 2015 at 4:04 PM, George Bollen <george.bollen at gmail.com> wrote:
> hi, i am new to python and i have not done programming before but i am
> learning along the way,
>
> just want you to help me on how i can write a script that accepts an input
> a measurement of a time interval in
> seconds and prints a sentence giving the equivalent of the given number of
> seconds
> in hours, minutes, and seconds.
Given this is homework, we can't answer your question by just spitting
out a program. Rather, we'll try to point you toward resources and
give suggestions.
Can you show us what you've tried? Can you point at any programs
you've seen so far? Maybe some program that you're seen might be
similar in concept to the problem you're trying to solve.
Also, at a high level of problem solving, it might be useful to look
at George Polya's "How to Solve It" in your local library. There are
general techniques that people use to solve problems, and they need to
be better known. Not sure if you've encountered material that shows
these strategies, but you might want to look at them at some point.
Please make sure to keep replies directed at the mailing list. Good
luck to you.
More information about the Tutor
mailing list