def power(x,n):
s=1
while n > 0:
n = n-1
s = s * x
return s
m=0
for i in range(1,101) :
n=power(i,2)
m=m+n
print(m)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-08
  • 2021-08-09
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案