Introduction
Write a Python program Convert all units of time into seconds. I have used python 3.7 compiler for debugging purpose.
days = int(input("Input days: ")) * 3600 * 24 hours = int(input("Input hours: ")) * 3600 minutes = int(input("Input minutes: ")) * 60 seconds = int(input("Input seconds: ")) Totaltime = days + hours + minutes + seconds print("The amounts of seconds", Totaltime)