11 lines
163 B
Python
11 lines
163 B
Python
# 自定义函数
|
|
def hehe(a,b,c):
|
|
print('hehe:'+a+b+c)
|
|
|
|
hehe('x','y','z')
|
|
|
|
#函数返回值
|
|
def haha(a,b,c):
|
|
return a+b+c
|
|
print("----")
|
|
print(haha(1,2,3)) |