0

I am using windows os and python 3.6,

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

while executing the above code, I get following output (10+4.140000000000001j) --> why this 0000000000001j is getting added.

Willem Van Onsem
  • 443,496
  • 30
  • 428
  • 555

0 Answers0