total = 0
x = 1
y = 2
while y <= 100:
    total += x * y
    x += 2
    y += 2

print(total)

 

相关文章:

  • 2022-12-23
  • 2021-10-20
  • 2021-07-25
  • 2022-12-23
  • 2021-09-14
  • 2022-12-23
  • 2021-10-05
猜你喜欢
  • 2021-08-15
  • 2022-12-23
  • 2021-06-18
  • 2022-12-23
  • 2021-10-28
  • 2021-05-23
相关资源
相似解决方案