Divided by int or by float
|
|
from __future__ import division
print (5 / 2), (5 / 2.0), (5 / -2.0), (5 / -2)
print (5 // 2), (5 // 2.0), (5 // -2.0), (5 // -2)
print (9 / 3), (9.0 / 3), (9 // 3), (9 // 3.0)
|
|
|
|
|
Related Scripts with Example Source Code in same category :
-
-
|
|