You only get that result in python by importing the decimal library. The standard behavior in python is (.1 + .2 == .3) == False
However, your code example makes the excellent point that python has such a library available, whereas Javascript does not. At least, not as easily as an import.
However, your code example makes the excellent point that python has such a library available, whereas Javascript does not. At least, not as easily as an import.