a,b= [int(x) for x in input().split()]
max=a
if (b>max):
max=b
print(max)
输入:520 69
运行结果:
请输入两个整数:520 69 520 Process finished with exit code 0

a,b= [int(x) for x in input().split()]
max=a
if (b>max):
max=b
print(max)
输入:520 69
运行结果:
请输入两个整数:520 69 520 Process finished with exit code 0