Hey! I'm not sure if it stays Python related but here's a simple short script I made to make choices based on a seed in Python:
import random
if __name__ == "__main__":
seed: str = "ARandomSeed"
results: int = 3
random.seed(seed)
fields = list(range(25))
res = []
for _ in range(results):
field = random.choice(fields)
res.append(field)
fields.remove(field)
res.sort()
print(res)
The thing I'd like to do is reproduce the random choices in JavaScript, I'd like the two different program to output the exact same results if they have the same seed!