I am new to coding and learning Python. I am stuck at a position described below. If I sound naive or foolish by asking this question, please forgive me as I am through my initial days of coding.
import random
a = ['8', '13', '29', '36']
random.seed(0)
b = random.choice(a)
print(b)
So far I have understood that we use seed() to get a specific value from a random iteration. My question is - "Is there any way to identify which seed integer is required to fetch a specific item from the list?" I mean, if I put 0 as seed, the output will be 36(I have checked) but if we put seed as 179, the output is coming as 13. Is it completely random that any integer if we put as seed will 'choice' any arbitrary item of the given list and continue to give the output through out the iterations or it follows some specific algo which I am not understanding?