n=0for x in range(101): n=n+xprint n#该片段来自于http://www.codesnippet.cn/detail/280420133070.html
来源: http://www.codesnippet.cn/detail/280420133070.html