0
Why
(4+8)/2 =6.0 why ?why 6.0?
16 Answers
+ 4
Python / operator executes floating-point division on operands.
12 / 2 would result in 6.0.
+ 3
it's python
+ 1
clever girl ! i just started my course and one of the question is was :âwhich option is the output by this code:
(4+8)/2
-8
-6
-6.0
+ 1
phyton
+ 1
why not were
+ 1
and for non decimal division use "// "
(floor division)
0
and the right answer is 6.0 why?
0
can u explain now ?
0
thank u
0
can you tell me that means for divisions in general in phyton is needed to use .?