<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reseed_random(seed):
 """Reseed factory.fuzzy's random generator."""

    r = random.Random(seed)
    random_internal_state = r.getstate()
    set_random_state(random_internal_state)