A simple command-line based to-do list app written in Python. Easily add, remove, complete, and view tasks with a clean and intuitive interface — perfect for managing your daily checklist!
- ➕ Add Task – Add new tasks to your to-do list
- ❌ Remove Task – Delete tasks by number
- ✅ Complete Task – Mark tasks as complete
- 📋 Show Tasks – Display tasks with their status
- 🚪 Exit – Close the application
- Python 3.x (Download: python.org)
git clone https://github.com/yourusername/todo-list-app.git
cd todo-list-app
python todolist.py
Then use the menu:
- 1: Add Task
- 2: Remove Task
- 3: Complete Task
- 4: Show Tasks
- 5: Exit
1. Add Task
2. Remove Task
3. Complete Task
4. Show Tasks
5. Exit
Choose an option: 1
Enter a new task: Buy groceries
Added task: "Buy groceries"
Choose an option: 4
1. Buy groceries - Incomplete
Choose an option: 3
Enter the task number: 1
Marked task "Buy groceries" as complete
Choose an option: 4
1. Buy groceries - Complete
Main script with two components:
tasks
: List of dictionaries with"task"
and"completed"
keysadd_task(task)
: Add new taskremove_task(index)
: Remove task by numbercomplete_task(index)
: Mark task as completeshow_tasks()
: Display all tasks
- Menu loop interface
- Handles user input
- Calls
ToDoList
methods accordingly
We welcome contributions!
- Fork this repository
- Create a new branch:
git checkout -b feature-branch
- Commit your changes:
git commit -m "Added a new feature"
- Push to your branch:
git push origin feature-branch
- Open a Pull Request
Licensed under the MIT License.
See the LICENSE
file for full terms.
For any inquiries or feedback, reach out to aponder.dev
Thanks for staying productive with the To-Do List App! 🧠✅