python笔记(求100偶数的和)

发布时间:2019-06-23 08:44:19编辑:auto阅读(1767)

    j = [i for i in range(1,101) if i % 2 ==0]
    print(sum(j))


关键字