Its Python.
i know its very simple but its my first day of learning programming..
can u help
Attachments:
Answers
Answered by
4
- Write a python program to calculate how many seconds are there in a month.
Here comes the solution for the problem.
month=30
hours=24
minutes=60
seconds=60
total_seconds=month*hours*minutes*seconds
print('The total number of seconds in a year is:',total_seconds)
We know that a month has 30 days and each day has 24 hours.
So, total time in hours will be,
= 30 × 24
An hour has 60 minutes. So, total time in minutes is,
= 30 × 24 × 60
A minute has 60 seconds, So, total time in seconds will be,
= 30 × 24 × 60 × 60
In this way, we have calculated the total number of seconds in a month.
The total number of seconds in a year is: 2592000
Attachments:
anindyaadhikari13:
Thanks for the brainliest ^_^
Similar questions
English,
19 days ago
Math,
19 days ago
CBSE BOARD X,
19 days ago
Hindi,
1 month ago
Science,
1 month ago
Math,
9 months ago
Business Studies,
9 months ago
Math,
9 months ago