DEV Community

San Kang
San Kang

Posted on

Building a Simple To-Do List App with Python (Beginner Project)

πŸ“ 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)