<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_variables_from(self, variables, cards):
 """ Add several variables to the model at once. Parameters: variables: array-like iterable object List of variables to be added. cards: array-like iterable object List of cardinalities of the variables to be added. Examples: --------- """

        for var, card in zip(variables, cards):
            self.add_variable(var, card)