题解 | #列表的最大与最小#
列表的最大与最小
https://www.nowcoder.com/practice/4228edf66a8f4a79808accc55e470520
list1=[] for i in range(10,51): list1.append(i) print(list1) print(list1[0],list1[-1],sep=' ')
列表的最大与最小
https://www.nowcoder.com/practice/4228edf66a8f4a79808accc55e470520
list1=[] for i in range(10,51): list1.append(i) print(list1) print(list1[0],list1[-1],sep=' ')
相关推荐