selfteaching / selfteaching/selfteaching-python-camp

Day05 代码的具体细节不理解

Open
#4,177 6 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

image
问题1:见上图:这种情况下,为什么print()必须顶格?往右4个空格或8个空格运行结果就不对。

image
问题2:见上图红框内,看不懂,想不明白。

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

The issue identifies only the Day05 lesson and two screenshots; no file, test, or entry point is named. Start by locating the Day05 Python code shown in the images and reading the highlighted section with its surrounding indentation. Done means providing a clear explanation that addresses both questions and points to the relevant lesson content.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.