What will be the output of the following Python code?
random.seed(3)
random.randint(1,5)
2
random.seed(3)
random.randint(1,5)
random.seed(3)
random.randint(1,5)
2
random.seed(3)
random.randint(1,5)A. 3
B. 2
C. Any integer between 1 and 5, including 1 and 5
D. Any integer between 1 and 5, excluding 1 and 5
Answer: Option B

Join The Discussion