2020年6月18日

python-函数

摘要: 1、python中函数的定义:函数是逻辑结构化和过程化的一种编程方法。 python中函数定义方法: def test(x): "The function definitions" x+=1 return x def:定义函数的关键字 test:函数名 ():内可定义形参 "":文档描述(非必要,但 阅读全文

posted @ 2020-06-18 22:21 Yangyl_00 阅读(159) 评论(0) 推荐(0) 编辑

导航