Divided by int or by float : Divide : Language Basics PYTHON examples


PYTHON examples » Language Basics » Divide »

 

Divided by int or by float


Divided by int or by float


from __future__ import division

print (2)(2.0)(/ -2.0)(/ -2)

print (// 2), (5 // 2.0), (5 // -2.0), (5 // -2)

print (3)(9.0 3)(// 3), (9 // 3.0)


           
       



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON examples

 Navioo Language Basics
» Divide