So below is my simple code for my simple program, now I have to "Use 2 functions for this program in addition to the main program. The first function should ask for the hours and returns them to the main program. The second function should receive the hours from the main program, calculate the minutes and display them.
I tried to def hours and just break up the code that way but it didn't work. This programing business is like a foreign language to me. I'm slowly catching on though.
Thanks in advance.
def main() : hours = input ("How many hours do you want to convert?") minutes = (hours * 60) print "There are", minutes , "minutes in that many hours." main()