Thursday, January 7, 2021

Python code to find the amount of seconds

 days=int(input("Input Days:")) * 3600 * 24

hours=int(input("Input Hours:"))*3600

minutes=int(input("Input Minutes:"))*60

seconds=int(input("Input Seconds:"))

time=days+hours+minutes+seconds

print("The amounts of seconds", time)

No comments:

Post a Comment

All Quotes

Quote 55: Your brand grows through authentic achievements. Quote 54: Personal branding is clarity, consistency, and credibility. Quote 53: E...