Question: This is supposed to be using python 3: This is the file being used: Example output: Problem Description Suppose you wanted tof a website or
This is supposed to be using python 3:







This is the file being used:

Example output:

Problem Description Suppose you wanted tof a website or app to manage a database of dates and events. Such a database might be used to look up dates in the past on this date in history...", as in the sites mentioned above); or they might be used as a calendar service to provide reminders for future events. In either case, you need a program that can record and look up strings (i.e., events) associated with dates. One catch here is reasoning about dates. People use many different formats to write dates, e.g., December 25, 2016, "2016-12-25", and "12/25/2016*, all of which represent the same date. The format that was used to insert an event into the database may or may not be the same as the format used to look up up that date. Your program therefore needs a way to reason about dates in different formats. This problem involves writing a class to maintain information about dates and events and reason about dates in different formats. The idea is to read a file containing a series of operations, where each operation refers to a database of dates and events, and process each operation in turn. Problem Description Suppose you wanted tof a website or app to manage a database of dates and events. Such a database might be used to look up dates in the past on this date in history...", as in the sites mentioned above); or they might be used as a calendar service to provide reminders for future events. In either case, you need a program that can record and look up strings (i.e., events) associated with dates. One catch here is reasoning about dates. People use many different formats to write dates, e.g., December 25, 2016, "2016-12-25", and "12/25/2016*, all of which represent the same date. The format that was used to insert an event into the database may or may not be the same as the format used to look up up that date. Your program therefore needs a way to reason about dates in different formats. This problem involves writing a class to maintain information about dates and events and reason about dates in different formats. The idea is to read a file containing a series of operations, where each operation refers to a database of dates and events, and process each operation in turn
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
