Blogger Information
Blog 5
fans 0
comment 0
visits 5251
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
五.Python面向对象
南城以南
Original
397 people have browsed it

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!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post