output 100/25 expression?

100//25

=4

why answer is 4.0

@sowjanya2all

when you divide 100/25 it is a normal division were you will get a floating point but when you use floor division 100//25 it will neglect the floating point and give you the output as 4 but in normal division you will get output as 4.0.

1 Like

if we divide 100/25 with normal division i got 4 only.

1 Like

if 100/25 then it will give output as 4.0 bcaz “/” operator gives you decimal values as well

where as “//” operator dont give you decimal value…i.e., 100//25 =4