0
Why does this code return False?
2 Answers
+ 10
https://www.sololearn.com/Discuss/2348045/?ref=app
https://www.sololearn.com/Discuss/1477626/?ref=app
https://www.sololearn.com/Discuss/374762/?ref=app
0
Sagar Sikchi
Samsil Arefeen Because computer returns 0.1 + 0.2 = 0.30000000000004 that's why output is False.
Get more explaination here..
https://techtalkbook.com/why-0-1-0-2-does-not-equal-0-3/