0

why cant we use int in the place of float can any one answer me ..??

19th May 2017, 6:07 PM
Anantha
Anantha - avatar
2 odpowiedzi
+ 3
int() represents an integer, so "full" numbers like: 1, 2, -5, 13, -999 float() represents a floating point number, like 1.002, -3.44356 or 848.3345792030003
19th May 2017, 6:12 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
0
my dought is we we use int in the place of float it's not working but in the reference they had given that we can use int also..??
19th May 2017, 6:16 PM
Anantha
Anantha - avatar