摘要: bool bin oct hex sum max min abs pow divmod round chr ord list dict set len any all zip sorted 阅读全文
posted @ 2022-03-31 20:45 呼长喜 阅读(21) 评论(0) 推荐(0) 编辑
摘要: '''#1.函数声明def 函数名(参数列表): # 函数文档 params: # 实现特定功能的多行代码 [return [返回值]] #2.函数调用def int(): a1 = range(1,101) a2 = 0 for i in a1: a2 += i print(a2)int()int 阅读全文
posted @ 2022-03-31 20:44 呼长喜 阅读(47) 评论(0) 推荐(0) 编辑