What will be the output of the following code:
import random
print(random.choice([1, 2, 3, 4]))
print(random.choice([1, 2, 3, 4]))
A. One of the elements in the list
B. An error will occur
C. [1, 2, 3, 4]
D. 4
Answer: Option A

Join The Discussion