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 months, and each month always consists of days. On that calendar, there are 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 days it will be Monday.
Today is the dth day in the mth month of year y Given the day of today on Angela's calendar, what day will it be or was it on the dth day in the mth month of year y on Angela's calendar?
Input
For each test case: The first line contains three integers d m y and a string s indicating the date and day of today on Angela's calendar.
dmydmy
The second line contains three integers d m y indicating the date whose day we want to know.
dmydmy
Output
For each test case output one line containing one string, indicating the day of the dth day in the mth month of year y on Angela's calendar.
Sample Input
Monday
Tuesday
Friday
Wednesday
Sample Output
Tuesday
Monday
Monday
Tuesday
HINT: Pay attention to case sensitivity
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
