python--练习--for i in 2020-01-13 12:29:35 浏览数 (1) #!/usr/bin/python3 total1=0 total2=0 for i in range(2,101): if i%2==0 : total1 =i代码语言:javascript复制else: total2 = -itotal=total1 total2print(total) python3 range 0 人点赞 上一篇:分享雷军22年前编写的代码