函数:def test(s):
...
return
过程没有return,函数有。但是过程也是函数
def test0():过程msg='i am hound'print(msg) def test1():函数msg='i am dog'print(msg)return msg t1=test0() t2=test1() print(t1) print(t2)
i am hound
i am dog
None 没有返回值为none
i am dog
没有返回值:none
一个返回值:那个对象
多个返回值:元祖形式()在括号中显示