
46

Python入门篇(六)之函数-勿忘初心
source link: http://blog.51cto.com/jinlong/2083159
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

1、函数1.1、编程的方式:(1)面向对象-->华山派-->独门秘籍:类-->定义关键字:class(2)面向过程-->少林派-->独门秘籍:过程-->定义关键字:def(3)函数式编程-->逍遥派-->独门秘籍:函数-->定义关键字:def1.2、函数是什么?函数是组织好的,可重复使用的,用来实现单一,或相关联功能的代码段。函数能提高应用的模
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK