π Building a Simple To-Do List App with Python
Today, I created a simple terminal-based To-Do List app as part of my Python learning journey.
While working on this project, I solidified my understanding of lists, dictionaries, loops, and conditionals.
π― Features
- β Add new tasks
- β Mark tasks as completed
- β Delete tasks
- β View all tasks
- β Exit the program
π‘ What I Learned (and Fixed)
-
tasks.append({"task": task, "done": False})
β how to create structured task entries -
tasks[index]["done"] = True
β marking completion correctly -
if not tasks:
β the clean Pythonic way to check for empty lists
π Next Steps
- Save/load to file
- Add input validation
- Try building a GUI version with Tkinter!
π This blog is part of my developer journey as sankworks.
Top comments (0)