python 科學計數法

import numpy as np a = '111111111111111111111111111111111111111' np.set_printoptions(suppress=True) x = np.array(a) b = float(a) print(a) print(x,type(x)) print(b,type(b))   輸出結果:blog
相關文章
相關標籤/搜索