python三个数求最大值 python输入三个数输出其中最小的数字?
python输入三个数输出其中最小的数字?Python输入十个整数,输出最大的和次大的数?max=0maxuuuux=0对于范围(10)中的num:STR=int(input(”请输入第{}个数字:“
python输入三个数输出其中最小的数字?
Python输入十个整数,输出最大的和次大的数?
max=0maxuuuux=0对于范围(10)中的num:STR=int(input(”请输入第{}个数字:“)。格式(Num 1)))如果STR> Max:Maxunext=Max Max=STR elif STR> Maxunext:Maxunext=strprint(“最大的数字是:{}”。Format(max))print(“第二大数字是:{}”。格式(最大值)下一步)