首页 > 其他分享> > 2093 求最值 2093 求最值 2019-09-09 09:37:48 作者:互联网 x = int(input()) ls = [] maxa = -2147483648 minb = 2147483647 for i in range(x): x = int(input()) if(x > maxa): maxa = x if(x < minb): minb = x print(minb, end=" ") print(maxa) 标签:end,int,minb,2093,print,input,maxa,最值 来源: https://blog.csdn.net/SYaoJun/article/details/100652098