欢迎来到我的小角落~这里有技术干货、生活碎碎念,还有偶尔的小脑洞~
total = 0#range(1,101) 其实是加到100,不会加到101for i in range (1,101): total = total + iprint("\n" + str(total))