Mega Code Archive

 
Categories / Python / Data Type
 

Use ( ) in calculation

a = 3           # name created b = 4 print b / (2.0 + a)   # same as (4 / (2.0 + 3))