摘要: ```python ##比较两个数大小 #有参函数!!! def compare(s,t): if s > t: print(s) else: print(t) f=compare compare(1000,30) f(1800,30) """有几个参数传几个参数,形参对应实参,一个也不能少""" ''' 2.函数名加括号与不加括号的区别: 函... 阅读全文
posted @ 2019-09-12 21:35 大海一个人听 阅读(783) 评论(0) 推荐(0) 编辑