Question: Assignment Overview Expand the functionality of the To - Do application by incorporating due dates, priorities, descriptions, and categories ( with the ability to add

Assignment Overview
Expand the functionality of the To-Do application by incorporating due dates, priorities, descriptions, and categories (with the ability to add and delete items within categories).
Assignment Specifications
To-Do List Structure:
Each to-do item will be a list of the form.
[due_date, priority, description, category]
The main to-do list will thus be a list of these item lists.
Functionality: Your application is designed to manage a dynamic to-do list along with a customizable category list, offering users the ability to organize tasks effectively. Below is a detailed guide on the core functionalities to implement:
Add Category: Finish implementing the add_category function to add a new category to the category list (categories).
Delete Category: Finish implementing the remove_category function to delete an item from the category list.
Add Item: Enhance the add_task function to add new tasks to the to-do list. Note that tasks should only be added if they are assigned a valid, pre-defined category. If an undefined category is given, the to-do list should remain unchanged to ensure that all tasks are appropriately categorized.
Delete Item: Finish implementing the remove_task function to delete an item from the todo list by its index.
Error Handling: Implement robust error handling to address potential user actions that could disrupt the application's functionality. The application should gracefully manage the following scenarios:
Attempting to delete a non-existent item (e.g., an out-of-range index error).
Attempting to add a task under a category that has not been defined.
Attempting to delete a category that does not exist within the current category list.
Attempting to add a new category that duplicates an existing one.
Assignment Overview Expand the functionality of

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 Programming Questions!