<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_seed(self, key, value):
 """Set a number of the number generator """

        number_generator = getUtility(INumberGenerator)
        return number_generator.set_number(key, self.to_int(value))