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

Finding Direction: Navigating Career Goals and Life Aspirations

  Finding Direction: Navigating Career Goals and Life Aspirations Life often presents us with a myriad of choices, and the path to fulfillme...