I built a Todo App with Python! π
As a developer from Akwa Ibom learning in Lagos, I wanted to build something real.
π οΈ Tech Stack
- Python
- CLI (Command Line Interface)
- File handling for saving tasks
β¨ Features
- β Add tasks
- β Mark as done
- ποΈ Delete tasks
- π View all tasks
π» Code Snippet
python
tasks = []
def add_task(task):
tasks.append(task)
print(f"Added: {task}")
def show_tasks():
for i, task in enumerate(tasks, 1):
print(f"{i}. {task}")
# My Todo App starts here!
while True:
print("\n1. Add Task | 2. View | 3. Exit")
choice = input("Choose: ")
if choice == "1":
t = input("Enter task: ")
add_task(t)
elif choice == "2":
show_tasks()
elif choice == "3":
break
