I want a way to give me the seed given a random number it could have generated. for example, if I have the following code
import random
seed = 3
lower_bound = 1
upper_bound = 10
random.seed(seed)
random.randint(lower_bound, upper_bound)
given the number these entries generate I want to be able to reverse the process and find out what the seed was. so given the number, I want to find the seed.
Sorry if I was unclear.
Aucun commentaire:
Enregistrer un commentaire