Files
python/pythonProject/内置函数/def.py
T
2026-10-08 15:26:07 +08:00

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))