how many seconds are there in a month (30 days)? Write a program to calculate and output the answer. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

how many seconds are there in a month (30 days)? Write a program to calculate and output the answer.

This is a python question. I need help on it

5th Aug 2022, 10:50 PM
Samuel Adesanya
3 Answers
+ 3
month =30 days day=24 hours hour= 60 minutes minute=60 seconds multiply all these and show the output .
5th Aug 2022, 11:20 PM
Aly Alsayed
Aly Alsayed - avatar
0
You mean this: print (60*60*24*30)
5th Aug 2022, 11:25 PM
Samuel Adesanya
6th Aug 2022, 5:57 AM
Pranjit Shrestha
Pranjit Shrestha - avatar