In python when we add 0.2+0.1
0.2+0.1
0.30000000000000004
Also
3*0.1
0.30000000000000004
I have tried other combinations and they work fine. Except for these two syntaxes. Can somebody tell me why the interpreter is behaving so strangely?