def functionmaker(a, b):
    return lambda x: a * x + b
ablist = [(1, 2), (3, 4), (5, 6)]
x = 1
total = sum(functionmaker(a, b)(x) for a, b in ablist)
print(total)
Convenient way to add lambda functions together?