# Magic numbers
HR_DAY = 24
MIN_HR = 60
SEC_MIN = 60

days = int(input("Enter days:"))
hours = int(input("Enter hours:"))
mins = int(input("Enter minutes:"))
seconds = int(input("Enter seconds:"))

interval1 = days * HR_DAY * MIN_HR * SEC_MIN
interval2 = hours * MIN_HR * SEC_MIN
interval3 = mins * SEC_MIN

total = interval1 + interval2 + interval3 + seconds

print("Total seconds is %d" % total)



94d820e75fa563ef0eb23973f1db1f6ccfd613af
<mask token>

<mask token>
print('Total seconds is %d' % total)

HR_DAY = 24
MIN_HR = 60
SEC_MIN = 60
days = int(input('Enter days:'))
hours = int(input('Enter hours:'))
mins = int(input('Enter minutes:'))
seconds = int(input('Enter seconds:'))
interval1 = days * HR_DAY * MIN_HR * SEC_MIN
interval2 = hours * MIN_HR * SEC_MIN
interval3 = mins * SEC_MIN
total = interval1 + interval2 + interval3 + seconds
print('Total seconds is %d' % total)

# Magic numbers
HR_DAY = 24
MIN_HR = 60
SEC_MIN = 60

days = int(input("Enter days:"))
hours = int(input("Enter hours:"))
mins = int(input("Enter minutes:"))
seconds = int(input("Enter seconds:"))

interval1 = days * HR_DAY * MIN_HR * SEC_MIN
interval2 = hours * MIN_HR * SEC_MIN
interval3 = mins * SEC_MIN

total = interval1 + interval2 + interval3 + seconds

print("Total seconds is %d" % total)


