Python: Creating a list with exponents

后端 未结 0 1073
抹茶落季
抹茶落季 2021-02-07 08:44

I am having trouble creating this list [5^3,8^2,11^3,14^2,17^3]=[125, 64, 1331, 196, 4913] - using a for loop.

Here is the code that I have so far, but I am not sure if i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题