Why the output of the code is False , please explain? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why the output of the code is False , please explain?

https://code.sololearn.com/c5HzBcPX6shE/?ref=app

23rd Jun 2020, 9:59 AM
Teja Swaroop
Teja Swaroop - avatar
1 Answer
+ 3
Computer is not accurate with the decimals,so calculating floats with computer always results in error or false depends on what you have coded
23rd Jun 2020, 10:47 AM
Arctic Fox
Arctic Fox - avatar