+ 1
The answer of (25/5)//3 is 1.0 although we use // we got the answer in float. why it so???
1 Antwort
+ 1
// has nothing to do with float or int..
25/5 is a float
3 is an int..
float operator int = float
if u do 5//3....it mans...int operator int...so ans is 1
5//3 = int(5/3)