selfteaching / selfteaching/selfteaching-python-camp

Day06 代码中关于函数注释那行有报错,但代码正常运行,这种情况下需要修改吗?

Open
#4,230 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
151
Forks
875
PR merge metrics
No merged PRs in 30d

Description

Day06 代码中关于函数注释那行有报错,但仍代码正常运行,这种情况下需要修改吗?

下图是代码
image

下图是报错信息
image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.