New Python Program: To-Do List Manager
还没有人认领这个 Issue。
评估
调研方向
创建新的 todo_manager.py 文件,并首先查看 issue 中关于菜单、任务操作和错误处理的要求。以交互方式运行程序,以验证添加、完成、查看和删除任务的功能,包括无效的任务选择。完成意味着所需的函数和用户友好的提示在 Python 3.x 中正常工作,并且这些场景已经过测试。
由索引模型根据 Issue 内容生成。
描述
Hello Python enthusiasts! Let's enhance our repository with a To-Do List Manager implemented in Python. This beginner-friendly task involves creating a program that allows users to add tasks, mark tasks as completed, view the to-do list, and remove completed tasks. This task will showcase data structures, loops, and conditional statements in Python.
Tasks:
- Implement functions to add tasks, mark tasks as completed, view the to-do list, and remove completed tasks.
- Store tasks in a list or dictionary data structure.
- Provide user-friendly menus and prompts for each operation.
- Handle errors gracefully, such as accessing tasks that don't exist.
- Ensure completed tasks can be removed from the list.
Guidelines:
- Use Python 3.x for the program.
- Implement functions for each operation (add_task, mark_completed, view_tasks, remove_completed, etc.).
- Include comments in your code to explain the logic and functionality.
- Test the program thoroughly, covering various scenarios including adding, completing, and removing tasks.
Example:
Welcome to the To-Do List Manager!
1. Add Task
2. Mark Task as Completed
3. View To-Do List
4. Remove Completed Tasks
5. Exit
Select an option: 1
Enter task: Complete Python project
Task 'Complete Python project' added successfully!
1. Add Task
2. Mark Task as Completed
3. View To-Do List
4. Remove Completed Tasks
5. Exit
Select an option: 3
To-Do List:
1. [ ] Complete Python project
...
How to Contribute:
- Fork this repository.
- Create a new Python file for the To-Do List Manager:
todo_manager.py. - Write the Python program following the specified tasks and guidelines.
- Test the program thoroughly to ensure it functions correctly.
- Commit your changes:
git commit -m "Add To-Do List Manager program" - Push to your branch:
git push origin add-todo-manager - Open a pull request to this repository.
Your contribution will provide users with a practical tool for managing tasks. Thank you for creating this useful Python program for our repository!
- 主要语言
- Python
- 星标
- 0
- 派生
- 9
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
KALIIOWORK/basic_python_programs 的其他 Issue
-
good first issue hacktoberfest
难度 3/5 1-2 天 新手友好度 45/100
KALIIOWORK/basic_python_programs#8 · 2 条评论 ·
-
good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 50/100
KALIIOWORK/basic_python_programs#6 · 1 条评论 ·
-
good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 55/100
KALIIOWORK/basic_python_programs#5 · 1 条评论 ·
-
good first issue hacktoberfest
难度 2/5 1-3 小时 新手友好度 48/100
KALIIOWORK/basic_python_programs#1 · 2 条评论 ·
查看 KALIIOWORK/basic_python_programs 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 2/5 1-3 小时 新手友好度 86/100
-
🐛 Bug 🔔 Pending processing
难度 2/5 1-3 小时 新手友好度 84/100
jumpserver/jumpserver#17584 ·