Python weird sum | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Python weird sum

Why does 12.7+18.4 does not equal 31.!? Python prints out 31.099999 instead? Someone?

28th Mar 2018, 4:06 PM
Tomer Sim
Tomer Sim - avatar
1 Answer
0
Can I see the code you have?
1st Apr 2018, 12:52 AM
NulledNVoided
NulledNVoided - avatar