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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started