Operators with mixed type operands convert the integer operand to floating point : Float : Data Type PYTHON examples


PYTHON examples » Data Type » Float »

 

Operators with mixed type operands convert the integer operand to floating point


Operators with mixed type operands convert the integer operand to floating point:


print 3.75 1.5
7.5
print 7.0 2



           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


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


PYTHON examples

 Navioo Data Type
» Float