This assignment involves the creation of intermediate functions. You should add code where directed.

business

Description

ASSIGNMENT 5


This assignment involves the creation of intermediate functions.

You should add code where directed. When evaluated your functions should return the same values as the notebook initially displays. 


You should submit this notebook and a pdf copy by midnight December 4th.


PROBLEM 1

Handling dates and times is common in data analytics. Sometimes dates and times are just given in nanoseconds from the epoch (i.e. January 1st, 1970) and must be converted to the appropriate Roman date and time. To simplify things we will only look at days instead of nanoseconds. We will only look for years and months and not the specific day of the mon


You will create a function that takes a number of days as input and returns the number of years and months. The number of years and months should not be fractional, they should both be returned as integers rounded to the nearest month. NOTE: for the purposes of this exercise months are equal to 30.5 days.


Related Questions in business category