Question: Angela s Calendar Python On Angela's calendar, one year is composed of 1 5 months, and each month always consists of 3 0 days. On

Angelas Calendar Python
On Angela's calendar, one year is composed of 15 months, and each month always consists of 30 days. On that calendar, there are 5 days in a week, which are Monday, Tuesday, Wednesday, Thursday and Friday.
If today is Monday, then tomorrow will be Tuesday, the day after tomorrow will be Wednesday. After 5 days it will be Monday.
Today is the d1-th day in the m1-th month of year y1. Given the day of today on Angela's calendar, what day will it be (or was it) on the d2-th day in the m2-th month of year y2 on Angela's calendar?
Input
For each test case: The first line contains three integers d1, m1, y1 and a string s, indicating the date and day of today on Angela's calendar.
(1=d1=30,1=m1=15,2000=y1=109)(1=d1=30,1=m1=15,2000=y1=109)
The second line contains three integers d2, m2, y2, indicating the date whose day we want to know.
(1=d2=30,1=m2=15,2000=y2=109)(1=d2=30,1=m2=15,2000=y2=109)
Output
For each test case output one line containing one string, indicating the day of the d2-th day in the m2-th month of year y2 on Angela's calendar.
Sample Input
1582020 Monday
1682020
1582020 Tuesday
14122020
1582020 Friday
111000000000
111000000000 Wednesday
1582020
Sample Output
Tuesday
Monday
Monday
Tuesday
HINT: Pay attention to case sensitivity.
Angela s Calendar Python On Angela's calendar,

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 Programming Questions!