You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data Structure: Choose a suitable data structure to store tasks. For example, you can use a list of dictionaries, where each dictionary represents a task with keys like "name," "description," "due_date," and "priority."
Add Task: Implement a function that prompts the user for task details (name, description, due date, priority) and adds the task to the task list. You can use input statements to gather user input and append a new task dictionary to the task list. Make sure ppl cant put weird names or sth NSFW.
View Tasks: Develop a function to display the list of tasks in a readable format. Iterate over the task list and print the details of each task, including its name, description, due date, and priority.
Update Task: Create a function that allows the user to update a specific task. Prompt the user to select a task by its index or unique identifier. Then, provide options for modifying its details, such as changing the name, description, due date, or priority.
Delete Task: Implement a function to remove a task from the task list. Prompt the user to select a task by its index or unique identifier and remove it from the list using the del statement or the list.remove() method or sth like that.
Sorting Tasks: Add functions to sort tasks based on different criteria, such as due date or priority. You can use the sorted() function or the list.sort() method with custom comparison functions to achieve the desired sorting.
Mark as Completed and Reminders: Include functionality to mark tasks as completed and set reminders. Implement options for marking tasks as completed, updating their status, and setting reminders based on the due date.
The text was updated successfully, but these errors were encountered:
Data Structure: Choose a suitable data structure to store tasks. For example, you can use a list of dictionaries, where each dictionary represents a task with keys like "name," "description," "due_date," and "priority."
Add Task: Implement a function that prompts the user for task details (name, description, due date, priority) and adds the task to the task list. You can use input statements to gather user input and append a new task dictionary to the task list. Make sure ppl cant put weird names or sth NSFW.
View Tasks: Develop a function to display the list of tasks in a readable format. Iterate over the task list and print the details of each task, including its name, description, due date, and priority.
Update Task: Create a function that allows the user to update a specific task. Prompt the user to select a task by its index or unique identifier. Then, provide options for modifying its details, such as changing the name, description, due date, or priority.
Delete Task: Implement a function to remove a task from the task list. Prompt the user to select a task by its index or unique identifier and remove it from the list using the del statement or the list.remove() method or sth like that.
Sorting Tasks: Add functions to sort tasks based on different criteria, such as due date or priority. You can use the sorted() function or the list.sort() method with custom comparison functions to achieve the desired sorting.
Mark as Completed and Reminders: Include functionality to mark tasks as completed and set reminders. Implement options for marking tasks as completed, updating their status, and setting reminders based on the due date.
The text was updated successfully, but these errors were encountered: