0

Why 2**5 is32( int value) whereas 9**(1/2) 3.0( float value)

1st Apr 2020, 8:12 PM
Shruti
2 Antworten
+ 3
2 and 5 are integers, result will be integer. 1/2 ==> 0.5 it is float, result will be float
2nd Apr 2020, 1:23 AM
Meyrambek Sanzhar
Meyrambek Sanzhar - avatar