Question: Write a program in python that prompts the user for a whole number of seconds. Depending on how large the number is you will display
Write a program in python that prompts the user for a whole number of seconds. Depending on how large the number is you will display one of the following:
There are seconds in a minute. If the number of seconds entered is at least one minute but less than one hour the program should display the number of minutes in that many seconds.
There are seconds in an hour. If the number of seconds entered is at least one hour but less than one day the program should display the number of hours in that many seconds.
There are seconds in a day. If the number of seconds entered is at least one day the program should display the number of days in that many seconds.
Your program should display no messages if the user enters a number less than sixty.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
