jackfrued / jackfrued/Python-100-Days

04循环结构语句有问题

Open
#954 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
187k
Forks
55.8k
PR merge metrics
No merged PRs in 30d

Description

http://img.crany.fun/i/2023/02/13/63ea3b71a4a59.png
箭头指的的地方说的是“上面代码中的range(1, 101)可以用来构造一个从1到100的范围"但框起来的代码是“range(101)",这种相当于省略了start位,而省略start位会默认从0开始,也就造成了代码对不上下面的解释

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

Use the linked image as the reference and search the Python lessons for the passage discussing range(1, 101) and the highlighted range(101) example. Update the inconsistent code or explanation so the example and its stated 1-to-100 range agree, then review the surrounding passage for consistency.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.