Question: https://elearn.mtsu.edu/d2l/le/content/6934850/viewContent/501192 CSCI 1170: Open Lab Assignment #3 Program due: Friday, 2/23 (turn in box closes Friday night) urpose of this assignment: The purpose of this
https://elearn.mtsu.edu/d2l/le/content/6934850/viewContent/501192 CSCI 1170: Open Lab Assignment #3 Program due: Friday, 2/23 (turn in box closes Friday night) urpose of this assignment: The purpose of this assignment is to understand Input, Processing, and integer calculation and selection statement which are covered in Chapter 2 and 3. For this lab, write a complete Python script, that asks the user to enter number of seconds and then prints the same amount of time in days, hours, minutes, and seconds. Fot example, 3667 seconds is equivalent to O days, 1 hour, 1 minute, and 7 seconds Print out the result in the format: "1 hour, 1 minute, and 7 seconds. Sample Outputs: Here are the results from running a sample program: SAMPLE RUN #1 Enter number of seconds: 5 5 seconds SAMPLE RUN #2 Enter number of seconds: 79 1 minute, and 19 seconds. SAMPLE RUN #3 Enter number of seconds: 6547 1 hour, 49 minutes, and 7 seconds
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
