1 def f(x): 2 x + 10 3 return x 4 5 a = 1.0 6 b = 2.0 7 c = 3.0 8 d = f(a * b) 9 10 print a * b + c # 5.0 11 print d + c # 5.0 12 print d # 2.0