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