奇数和

49 阅读1分钟

sum=0 for index in range(1,101): if index%2!=0: sum+=index print(sum)