def定义函数
def sayhello():
print(“hello world”)
sayhello()
如何做传入参数的做法
def max(a,b):
if a>b:
reture a
else:
reture b
print(max(2,3))
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!