jackfrued / jackfrued/Python-100-Days
关于09
Open
Nobody has claimed this yet.
- Dominant language
- Jupyter Notebook
- Stars
- 187k
- Forks
- 55.8k
- PR merge metrics
- No merged PRs in 30d
Description
在双色球随机选号的例子中,第一段代码中的第一个for循环,随机抽球会不会抽到同一个,而导致pop函数没有识别index而出错?还是说,抽到同一个index,在pop时自动删除index+1?求解答。
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
Start with the 双色球随机选号 example and inspect the first for loop together with its pop call. Check the relevant Python list behavior for repeated random selections and indexes; the work is done when the example clearly explains whether duplicates can occur and how pop handles the selected position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100