摘要:
1、 >>> def a(x,y): ## 函数文档 """ function: sum author: xxxx date: 2021.3.4 """ print(x + y) >>> a(40,80) 120 >>> print(a.__doc__) ## 获取函数文档 function: su 阅读全文
posted @ 2021-03-04 10:26
小鲨鱼2018
阅读(192)
评论(0)
推荐(0)
摘要:
1、 >>> def a(x): ## 形参为x, 实参为50。 print(x * 100) >>> a(x = 50) 5000 阅读全文
posted @ 2021-03-04 10:00
小鲨鱼2018
阅读(372)
评论(0)
推荐(0)