Question: Create a function which can take two lines of list as input, line one has the list of dates in the format DD: MM: YYYY

Create a function which can take two lines of list as input, line one
has the list of dates in the format DD: MM: YYYY and the line t wo has the list of days need to be added with dates. The funct ion should perform addition between the days and dates, the n print sorted list of dates in ascending order.
2
Sample Case 0
Sample Input For Custom Testing
12-12-202121-10-202112-05-2022
12036550
Sample Output
11-04-2022
01-07-2022
21-10-2022
Explanation
Input dates: 12-12-202121-10-202112-05-2022
After the sum: 11-04-202221-10-202201-07-2022
After sorting: 11-04-202201-07-202221-10-2022

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!