摘要:
>>> def a(x): def b(y): return x+y return b >>> a(1)(4)5>>> bTraceback (most recent call last): File "<pyshell#33>", line 1, in <module> bNameError: n 阅读全文
posted @ 2018-03-25 21:45
我们分头打钱!
阅读(593)
评论(0)
推荐(0)
摘要:
# 复数 d 的类是complex,调用complex中的real方法,.real() 出错,.real 不带括号正常实现 >>> d = 4j>>> type(d)<class 'complex'>>>> d.real()Traceback (most recent call last): Fil 阅读全文
posted @ 2018-03-25 18:48
我们分头打钱!
阅读(168)
评论(0)
推荐(0)

浙公网安备 33010602011771号