求最大数

while 1:   
    s = input('输入:')
    d = input('输入:')
    f = input('输入:')
    s = int(s)
    d = int(d)
    f = int(f)
    if s > d and s > f:
        print(s )
    if d > s and d > f:
        print(d)
    if f > d and f > s:
        print(f)
原文地址:https://www.cnblogs.com/wumac/p/5678382.html