python 中函数的理解 一
摘要:
#定义第一个函数def hello(): print "hello world!"res=hello()res>>>hello world!#关键字函数#因为python是动态语言所以函数的参数获得的值往往会安置倒位 甚至有时候还有默认函数 def foo(x,y): print x,yprint ... 阅读全文
posted @ 2015-05-14 16:11 象牙塔里的魔术师 阅读(153) 评论(0) 推荐(0) 编辑