摘要: 1) sum=0 count=1 for i in range(1,100,2): if count % 2==0: sum = sum - i else: sum = sum + i count = count+1 print(sum) 2) sum = 0 count = 1 for i in range(1,100,2): ... 阅读全文
posted @ 2018-08-07 16:59 傻白甜++ 阅读(4642) 评论(0) 推荐(0) 编辑
TOP