题解 | 前10个偶数

前10个偶数

https://www.nowcoder.com/practice/b369718b3a904c2f845d135781120048

import sys


my_list = [i for i in range(0,19,2)]
for i in my_list:
    print(i)

#list推导式 贼好用~

全部评论

相关推荐

LB21:之前问她好像还什么试岗,你别逗我笑了西电✌️ 这种公司是我这种水平去的
点赞 评论 收藏
分享
合适才能收到offe...:些许风霜罢了查看图片
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

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