摘要:
首先,a56爆大奖在线娱乐不是总结归纳,只是记录一些有趣的知识点罢了 assert 课堂中在讲授函数,如 from math import pi def area_circle(r): return r * r * pi 但老师提出,当r为-10时,函数不会报错,于是引入assert来检测参数 from math 阅读全文
摘要:
观前提示,笔者写的代码答案放在github仓库中,此处仅记录过程与心得 正文 首先来看下hw的第一道题 Q2: A Plus Abs B Fill in the blanks in the following function for adding a to the absolute value o 阅读全文