# Define this as a named function. There's no reason to
# have this be a lambda given its complexity.
# Yes, it does immediately return but the multiple inputs
# have bad code smell
def my_operation(x, y, c, d):
return update(c) + lookup(x) + halve(y) + double(d)