Question: in python Create an object, Calendar, that models the Page-A-Day Calendar with the added feature of a To-Do List! Here are the requirements for the

in pythonin python Create an object, Calendar, that models the Page-A-Day Calendar withthe added feature of a To-Do List! Here are the requirements forthe lab You will define 2 classes, a Calendar class and a ToDoList class, that will work with the provided main function. Requirements for

the Calendar Class: - Keeps track of today's month, day and year

Create an object, Calendar, that models the Page-A-Day Calendar with the added feature of a To-Do List! Here are the requirements for the lab You will define 2 classes, a Calendar class and a ToDoList class, that will work with the provided main function. Requirements for the Calendar Class: - Keeps track of today's month, day and year Keeps track of the day of the week Has a To-Do List object as member variable Has the following class methods: init : to allow the creation of the Calendar object _repr_: to receive a string representation of the Calendar object (see main function and example interaction) start_new_day: Change the date and day of the week to the next day. Resets ToDoList object so the list will start off blank again. Requirements for the ToDoList Class: Has a list for keeping track of all the task names and whether the task is completed or not Has the following class methods: init:to initialize a new ToDoList object create_ to_do_list_item: method for adding a new task to the list. By default, the task is not completed when added to the list. check_to_do_list: ask user whether unfinished tasks are now completed. If the user completed the task, mark the task as complete. -_repr:to receive a string representation of the ToDoList object (see main function and example interaction) You should not modify the provided main function!!! Define your classes and methods for the purpose of working with the main function. You can define helper methods in the class to keep your code organized and readable Create an object, Calendar, that models the Page-A-Day Calendar with the added feature of a To-Do List! Here are the requirements for the lab You will define 2 classes, a Calendar class and a ToDoList class, that will work with the provided main function. Requirements for the Calendar Class: - Keeps track of today's month, day and year Keeps track of the day of the week Has a To-Do List object as member variable Has the following class methods: init : to allow the creation of the Calendar object _repr_: to receive a string representation of the Calendar object (see main function and example interaction) start_new_day: Change the date and day of the week to the next day. Resets ToDoList object so the list will start off blank again. Requirements for the ToDoList Class: Has a list for keeping track of all the task names and whether the task is completed or not Has the following class methods: init:to initialize a new ToDoList object create_ to_do_list_item: method for adding a new task to the list. By default, the task is not completed when added to the list. check_to_do_list: ask user whether unfinished tasks are now completed. If the user completed the task, mark the task as complete. -_repr:to receive a string representation of the ToDoList object (see main function and example interaction) You should not modify the provided main function!!! Define your classes and methods for the purpose of working with the main function. You can define helper methods in the class to keep your code organized and readable

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!