jackfrued / jackfrued/Python-100-Days
Day16-20冒泡排序错误
Open
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 187k
- Forks
- 55.8k
- PR merge metrics
- No merged PRs in 30d
Description
冒泡排序内层循环应该从0开始
for j in range(i, len(items) - 1 - i):
应改为 for j in range(len(items) - 1 - i):
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
Find the Day16-20 bubble-sort example containing the inner loop shown in the issue. Check the surrounding notebook content, update the loop start as specified, and verify that the example still sorts its input correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100