题解 | #列表的最大与最小#

列表的最大与最小

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 = ' ')

全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务