def fun1():a='Tom'return a
def fun2():a=2return a
def fun3():a=[1,2]return a
print(fun1())print(fun2())print(fun3())
输出:Tom2[1, 2]不知上面用法是否正确?