selfteaching / selfteaching/selfteaching-python-camp
Day06 代码中关于函数注释那行有报错,但代码正常运行,这种情况下需要修改吗?
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
Day06 代码中关于函数注释那行有报错,但仍代码正常运行,这种情况下需要修改吗?
下图是代码

下图是报错信息

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Day06 example and the error shown in the attached screenshots. Reproduce the reported warning or error and determine whether it comes from the function comment or the surrounding Python code. Done means documenting the cause and either correcting the Day06 material or clearly explaining why no code change is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100