// this code needs flattening def qeval(a): b = a + 5 + a * a c = b + a + a * b * b d = a * b + c * c return b + c + d