On basic operator / and // in Python. Why 99/9.9 returns 10.0 and 99//9.9 returns 9.0?
/ - returns result in float // - returns quotient without reminder in int
so why:
>>> 99/9.9
10.0
>>> 99//9.9
9.0
>>> 9.9*9.0
89.10000000000001
when
>>> 9.9*10.0
99.0