selfteaching / selfteaching/selfteaching-python-camp
Day03 避免代码行缩进错误
Open
Nobody has claimed this yet.
学习心得分享
- Dominant language
- Python
- Stars
- 151
- Forks
- 875
- PR merge metrics
- No merged PRs in 30d
Description
Pyhon根据缩进来判断代码行与前一个代码行的关系。
通过使用缩进让代码整洁而结构清晰。
你开始编写必须正确的代码时,需要注意一些常见的缩进错误。如,将不需要缩进的代码块缩进,对于必须缩进的代码块却忘记缩进。
有时候Python能指出这一点,有时候却是出现逻辑错误,导致错误执行。
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
The issue names only the Day03 lesson and provides no file or test path. Locate that lesson, review how indentation errors are explained, and define completion as a clear, accurate treatment of the stated common mistakes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100