count=1 sum=0 while count<=100: sum+=count count+=2 print(sum) 转载于:https://www.cnblogs.com/bigbigbird/p/11170789.html