- 2
Why in python when we write. Print((4+8) /2) the output is 6.0
Please tell
5 Respuestas
+ 4
In Python, the "/" stands for floating point division, as opposed to the "//", which stands for integer division.
+ 1
whenever the division operator is calculated the result by default is in float form. if you want to convert to integer use int( ).
0
Thank you all for clearing my doubt
0
6.0
0
Thank you everyone for your answers. I understood it. Once again thanks