Answer:
Step-by-step explanation:
def cvtToSeconds(hours,minutes,seconds):
total_seconds=3600*hours+60*minutes+seconds;
return total_seconds
def readData():
hours = eval(input("Enter Hours: "))
minutes = eval(input("Enter Minutes: "))
seconds = eval(input("Enter Seconds: "))
total_seconds=cvtToSeconds(hours,minutes,seconds)
print("Total Seconds: "+str(total_seconds))
readData()