小编Den*_*nis的帖子

数组如何成为指数?

假设有一个元组test = (1,2),我想计算10**test哪个应该相等(10,100).但是Python给出了错误 unsupported operand type(s) for ** or pow(): 'int' and 'tuple'

我怎么在python中这样做?

python arrays

2
推荐指数
1
解决办法
141
查看次数

标签 统计

arrays ×1

python ×1