Day06 代码中关于函数注释那行有报错,但代码正常运行,这种情况下需要修改吗?
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- documentation
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.
Description
Day06 代码中关于函数注释那行有报错,但仍代码正常运行,这种情况下需要修改吗?
下图是代码

下图是报错信息

- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
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.
More from xiaolai/selfteaching-python-camp
-
这个自学群还有战友,一起学习么 Open
Difficulty 5/5 Over a week Newbie friendliness 5/100
xiaolai/selfteaching-python-camp#6223 · 1 comment ·
-
属性“program”不存在错误 Open
Difficulty 3/5 1-2 days Newbie friendliness 20/100
xiaolai/selfteaching-python-camp#6182 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 15/100
xiaolai/selfteaching-python-camp#6181 ·
-
day05 如何按照从大到小排序呢? Open
Difficulty 1/5 Under an hour Newbie friendliness 35/100
xiaolai/selfteaching-python-camp#6046 ·
-
停了6个月,又开始学习了。 Open
Difficulty 5/5 Over a week Newbie friendliness 5/100
xiaolai/selfteaching-python-camp#6032 ·
All issues in xiaolai/selfteaching-python-camp
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100