c = 2 def f(x, y): return 3*x + y def g(a): b = f(a, c) return f(b, a) print g(3)