jackfrued / jackfrued/Python-100-Days

对06.函数和模块的使用.md 中数学问题的质疑

Open
#256 1 comment 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

这一节中的第一个数学问题x1+x2+x3+x4=8,作者转化为了8个苹果分成四组,每组至少一个苹果的方案数问题。这个问题本质上是将8个相同元素(单位1)分到四个相同组(四个无差别变量)中每组至少一个,而作者所使用的计算方法是插板法,它的应用场景应该是相同元素分到不同组中,对于本题来说不适用。
正确的做法可以使用公式法和拆数法,转载文档链接如下:
https://blog.csdn.net/ChallengerRumble/article/details/46653731

不过鉴于本节作者想要强调的是函数的作用,所以抛开这个问题也并不影响作者对函数理解的表达。

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

Open 06.函数和模块的使用.md and locate the first math problem about x1+x2+x3+x4=8. Review the issue's linked reference while checking the current explanation. Done means the counting explanation is mathematically accurate and remains consistent with the section's focus on functions.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.