Let's say my friend one day goes home and writes the following code
random.seed(12)
X = random.randint(1,10)
And let's say X turned out to be 4(I just made that up). He then challenges me to discover the seed given X and the lower and upper bounds supplied to randint, in this case it's 1 and 10. How can I beat his challenge
Aucun commentaire:
Enregistrer un commentaire