Python 程序:寻找三个整数中的最大值
a = int(input('请输入 a: '))
b = int(input('请输入 b: '))
c = int(input('请输入 c: '))
max_num = a
if b > max_num:
max_num = b
if c > max_num:
max_num = c
print('最大值为:', max_num)
原文地址: https://www.cveoy.top/t/topic/ouJ1 著作权归作者所有。请勿转载和采集!