no message
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
# 自定义函数
|
||||
def hehe(a,b,c):
|
||||
print('hehe:'+a+b+c)
|
||||
|
||||
hehe('x','y','z')
|
||||
|
||||
def haha(a,b,c):
|
||||
print('haha:'+a+b+c)
|
||||
haha('x1','y1','z1')
|
||||
@@ -0,0 +1,17 @@
|
||||
# 自定义函数
|
||||
def hehe(a,b,c):
|
||||
print('hehe:'+a+b+c)
|
||||
|
||||
hehe('x','y','z')
|
||||
|
||||
#函数返回值
|
||||
def haha(a,b,c):
|
||||
"""
|
||||
:param a:这是函数的文档1
|
||||
:param b:这是函数的文档2
|
||||
:param c:这是函数的文档3
|
||||
:return: 这是函数的文档4
|
||||
"""
|
||||
return a+b+c
|
||||
print("----")
|
||||
print(haha(1,2,3))
|
||||
Reference in New Issue
Block a user