+ 1
Why is that when >>>(5+7)/2 gives 6.0 a floating point
quiry
2 odpowiedzi
+ 3
Division operation always results in a value with a floating point no matter if it is an integer or not.
+ 1
[meta] There's still enough Python 2 out there to mention that a/b results in integers (just like C) unless one of "a" or "b" is already a floating point.