![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
iteye_16086
这个作者很懒,什么都没留下…
展开
-
parameter & argument
parameter - 形参 方法声明argument - 实参 方法定义2009-09-17 21:12:46 · 88 阅读 · 0 评论 -
静态强类型语言
Python 如何与其它编程语言的比较的解释:【Dive into Python】静态类型语言 一种在编译期间就确定数据类型的语言。大多数静态类型语言是通过要求在使用任一变量之前声明其数据类型来保证这一点的。Java 和 C 是静态类型语言。 动态类型语言 一种在运行期间才去确定数据类型的语言,与静态类型相反。VBScript 和 Python 是动态类型的,因为它...原创 2009-09-17 21:15:58 · 409 阅读 · 0 评论 -
Python中docstring的写法
python中class或者methon的__doc__有多行时有'''\作为首行比较直观'''\Programming is funWhen the work is doneif you wanna make your work also fun: use Python!'''这种方法也可以用于定义多行Stringtemp = '''\Pro...2009-09-26 23:33:43 · 553 阅读 · 0 评论