User talk:197.210.52.184


 * 1) File enhancedtimeconv.py

seconds = int(input("Please enter the number of seconds:")) hours = seconds // 3600 # 3600seconds = 1 hour seconds = seconds % 3600 minutes = seconds // 60 # 60 seconds = 1 minute seconds = seconds % 60 print(hours, ":", sep="", end="") tens = minutes // 10 ones = minutes % 10 print(tens, ones, "", sep="", end="") tens = seconds // 10 ones = seconds % 10 print(tens, ones, sep ="") days = hours // 24 hours = hours % 24 print(days,'Days',",", hours, 'Hrs',":", minutes, 'Mins',":", seconds, 'Secs')
 * 1) Get the number of seconds
 * 1) First, compute the number of hours in the given numbers of seconds
 * 2) Note: integer division with possible truncation
 * 1) Compute the remaining seconds after the hours are acconted for
 * 1) Next, compute the number of minutes in the remaining number of seconds
 * 1) compute the remainig seconds after the minutes are accounted for
 * 1) Report the results
 * 1) Compute Tens digit of minutes
 * 1) comput ones digit of music
 * 1) Compute tens digit of seconds
 * 1) Compute the digits of ones
 * 1) Report the results
 * 1) Compute for time convesion into days
 * 1) '''Tunde Onajobi's addition to the original exercise by Rick Halterman +2348020702554