#输入若干个整数,打印出最大值 # m = int(input('Input first number >>>')) while True: c = input('Input a number >>>') if c: n = int(c) if n > m: m = n print('Max is',m) else: break