python 函数定义
def function():
.....
例如:
def hello():
print("hello");# 记住有缩进
def hello(a,b):
if a<b:
print("a<b");
else
print("a>b");
python 函数定义
def function():
.....
例如:
def hello():
print("hello");# 记住有缩进
def hello(a,b):
if a<b:
print("a<b");
else
print("a>b");