I'm trying to create a dictionary where each value is a list of functions that should get executed when calling the value.
Here's some pseudo-code:

```
functions = {
    "A": (execute() for execute in [func1(param1), func2(param1)]),
    "B": (execute() for execute in [func1(param2), func2(param2)]),
}

```

But if I try to call this using `functions["A"]()` an exception is thrown saying "TypeError: 'generator' object is not callable".

How should I approach this problem?

EDIT: Just to clarify, the functions are not generators nor have any return type. They just execute some actions based on the parameter.