摘要:
""" 声明函数: def (参数列表): return 参数列表的返回值不是必须的, return可以不跟返回值,也可以没有,但是返回值为None。 """ #例: def hello(): #函数名为hello,无参数 print('hello python') #缩进后的语句后,表示该函数内的语句 # 2.向函数传递信息 def gre... 阅读全文
posted @ 2018-04-03 20:49
iameng
阅读(147)
评论(0)
推荐(0)

浙公网安备 33010602011771号