sum 二样本解决方案参数
作者: MarkMoretto创建于 2021年6月26日更新于 2023年10月5日
标签needs-review
关于two challenge笔记本([link](https://GitHub.com/donnemartin/interactive-coding-challenges/blob/master/math 概率/sum two/sum two challenge.ipynb),解决方案类模板仅取一个参数:
类解( 对象) :
daf sum two( 自, val) :
执行我
通过这应当改为两个参数:
类解( 对象) :
daf sum two( 自, a, b) :
执行我
通过否则会随信件发出类型错误 :
`TypeError: sum two() 需要2个立场论点,但给出了3个论点'
内容来源: donnemartin/interactive-coding-challenges