In python,

Write a program that calculates and prints the number of minutes in a year.

Assume the following:

1 year = 365 days (Ignore leap years)
1 day = 24 hours
1 hour = 60 minutes
Below is an example of the correct output format:

The number of minutes in a year is X

Respuesta :

The algorithm given below does not take any parameter to print the number of days in a year, instead all the parameters where statically included as given in the exercise.

//We started by given the function a number with no return type since we //just want to print something

Function To Convert Year to Minutes

def printNumberOfMinutesInOneYear ( ):

   int oneYear = 365;

   int oneDay = 24;

   int oneHour = 60

  int oneYeatInMinutes = oneYear*oneDay*oneHour

   print(The number of minutes in a year is oneYeatInMinutes)

Learn more about Python Programming Language here:

https://brainly.com/question/24661996