复数加上0000000000001j

时间:2017-05-24 13:23:04

标签: python

我使用的是windows os和python 3.6,

test = 10+3.14j
test = test + 1j
print (test)

执行上面的代码时,我得到以下输出 (10+4.140000000000001j) - >为什么要添加0000000000001j。

0 个答案:

没有答案
相关问题