s1=0
s2=0
for i in range(1,101):
if i%2==0:
s2=s2+i
else:
s1=s1+i
print("偶数和:",s2)
print("奇数和:",s1)
上一篇:666
下一篇:1