def f(a, b, c): if b: pass elif a: c = 1 if b: a = 3 else: b = 4 else: pass