题解 | #列表的最值运算#
列表的最值运算
https://www.nowcoder.com/practice/90c18e8c3a1347ac8a2f40028f959c51
list = input().split() list1 = [] for i in list: list1.append(int(i)) print(max(list1),min(list1),sep='\n')
列表的最值运算
https://www.nowcoder.com/practice/90c18e8c3a1347ac8a2f40028f959c51
list = input().split() list1 = [] for i in list: list1.append(int(i)) print(max(list1),min(list1),sep='\n')
相关推荐