n=1 s=0 while n<101: s=s+n n=n+1 print(s)
请求出1-100求和
原文:http://www.cnblogs.com/huangjinshan/p/8047375.html