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