Question: In python sec2Days (n3) Write the function sec2Days that takes an int n3 as input and returns a string. The function takes the number of
sec2Days (n3) Write the function sec2Days that takes an int n3 as input and returns a string. The function takes the number of seconds as input and calculate the equivalent amount of time in the form D:HH:MM.SS where D, HH, MM, and SS represent days, hours minutes and seconds respectively. The function calculates those values separately, and combine them in a single string variable to return. You may assume the input parameter is always an integer. Sample Inut: Expected Output: n3 750,00 n3-1,234 n3200, 000 2:07:33:20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
