0
Floats?
Do floats happen when ever you use division
6 Réponses
0
yes, whenever u divide two or more Number, thé result Will be à float
+ 1
ok thanks
0
thanks
0
no p, it's my pleasure
0
I want only add that this is true ONLY from Python 3.
On Python 2.x division between integer return always an float trunced to integer
- 1
if you want an int you can use floor division:
a // b # floor division uses two slashes