Write a python program to calculate the number of seconds in the given days.

                                          https://infinitynotes00.blogspot.com/2021/08/Write a python program to calculate the number of seconds in the given days./image.png

Write a python program to calculate the number of seconds in the given days.

PROGRAM:

n=int(input("Enter the number of days:"))
s=n*(24*60*60)
print("Number of seconds in the "+ str(n)+" days:",s,"seconds")

OUTPUT:



No comments:

Post a Comment




Copyright Ⓒ 2022 | Mechpedia | All Right Reserved.