奇数和 用户6255219915579 2021-04-05 49 阅读1分钟 sum=0 for index in range(1,101): if index%2!=0: sum+=index print(sum)