End of Year Sale: Use Coupon Code END2025 to Get Extra 25% Off.
Task class with attributes for ID, description, due date, completion status, and tags.TodoList class to store user IDs and their tasks.addTask by creating a new Task object and adding it to the user's task list, incrementing the task ID each time.getAllTasks by filtering the user's task list for uncompleted tasks and sorting by due date.getTasksForTag similarly to getAllTasks, but also filter by the given tag.completeTask by finding the task with the given ID and marking it as complete.