python3.5.3rc1学习五:模块

#比较大小
#name:maxNumber.py
#比较两个数大小
#C:UsersAnthonyAppDataLocalProgramsPythonPython36-32Libsite-packages
def maxTwo(x,y):
if x > y:
print(x)
else:
print(y)

def maxThree(x,y,z):
if x > y:
maxTwo(x,z)
else:
maxTwo(y,z)

原文地址:https://www.cnblogs.com/51testing/p/7895106.html