错误发生在python中,如下所示。
[1,2,3]*1e-6
TypeError: can't multiply sequence by non-int of type 'float'我怎么才能解决这个问题?
发布于 2019-08-09 06:13:42
import numpy as np
ls=[1,2,3]
ls=np.array(ls)*1e-6
print(ls)希望这能起作用
https://stackoverflow.com/questions/57424079
复制相似问题