Question: With using Python programming language: Implement the function below which takes three integer inputs (year, month and day), and calculates how many days has been

With using Python programming language:

Implement the function below which takes three integer inputs (year, month and day), and calculates how many days has been passed since the reference date September 26, 1905?

if the inputs are year=1905, month=9, day=27, your code should return 1, which is just 1 day after the reference date. if the inputs are year=2005, month=9, day=26, your code should return 36525, which is exactly 100 years after the reference date.

import datetime

def days_since_special_relativity_paper(year,month,day): days = 0 ### START YOUR CODE HERE ###

#### END YOUR CODE HERE #### return days

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!