Mixed-type conversions : Type Conversion « Data Type « Python





Mixed-type conversions

Mixed-type conversions
a = 3           # name created
b = 4

print 2 + 4.0, 2.0 ** b   # mixed-type conversions

           
       

Related examples in the same category

1.Use ( ) in calculationUse (  ) in calculation