01Design and Analysis Algorithm Using Python-程振波

1.(p14)比较两个数的大小

a = int(input('num:'))
b = int(input('num:'))
def getMax(a,b):
    if a>b :
        print('The bigger number is a:')
    else:
        print('The bigger number is b:')
getMax(a,b)
Compare

2.

原文地址:https://www.cnblogs.com/chengxiaofeng/p/10778196.html