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)