Seeding a pseudo-random number generator gives it its first "previous" value. Each seed value will correspond to a sequence of generated values for a given random number generator. That is, if you provide the same seed twice, you get the same sequence of numbers twice.
Generally, you want to seed your random number generator with some value that will change each execution of the program. For instance, the current time is a frequently-used seed. The reason why this doesn't happen automatically is so that if you want, you can provide a specific seed to get a known sequence of numbers.
The random module uses the seed value as a base to generate a random number. if seed value is not present it takes system current time. if you provide the same seed value before generating random data it will produce the same data.
Suppose you generate 10 values, all these values won't be stored, the last value it generated will be stored because that value will work as the seed for the next number.
Use the above code to see a repeated output for yourself
for i in range(2):
for i in range(20):