1The seed() method is used to initialize the random number generator.
2The random number generator needs a number to start with (a seed value),
3to be able to generate a random number. By default the random number
4generator uses the current system time
1from random import randint
2
3seed = []
4max_range = randint(1, 31)
5
6for i in range(0, max_range):
7 if len(str(seed)) < 32:
8 seed_bytes = randint(0, 9)
9 seed.append(seed_bytes)
10 else: break
11
12print(*seed, sep='')