A To-Do Task List

Goal

Create a simple to-do task list that prioritizes task with earlier due dates.

For example:

Our Tasks
- Vacuum, 21 July 2024
- Laundry, 19 July 2024
- Marshall to Vet, 1 August 2024

Priority Order:
1. Laundry, 19 July 2024
2. Vacuum, 21 July 2024
3. Marshall to Vet, 1 August 2024

Program Requirements

  • Insert tasks

    • A task should have a string data explaining the task

    • A task should have a date attached explaining the due date

  • Remove tasks

    • Either a task was completed or want to be removed

  • Task Sorting

    • Tasks are to be sorted based on date (early ones first)

  • View the Tasks

    • Display the tasks in order

  • Save the Tasks to an external file

    • The program will generate a file after tasks have been inserted

    • The program will remember previous/unfinished tasks by reading the previous task file

    • The program will update with changes and save the changes to the same file

Python Translation

Code Explanation

Connected Readings

  • Title (Link)

Last updated