Question: Write a program in Pythonthat will calculate the number of days between 2 dates. Input: Enter the year for date 1 : Enter the month

Write a program in Pythonthat will calculate the number of days between 2 dates.
Input:
Enter the year for date 1:
Enter the month for date 1:
Enter the day for date 1:
Enter the year for date 2:
Enter the month for date 2:
Enter the day for date 2:
Output:
The difference between {month1/day1/year1} and {month2/day2/year2} is {difference} days!
You may assume:
All inputs are valid integers greater than 0
Years always have exactly 12 months
Months always have exactly 30 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!