Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions