What possible output(s) are expected to be displayed on screen at the time of execution of the following code? Also specify the maximum and minimum value that can be assigned to variable X.
import random
L=[10,7,21]
2 X=random.randint(1,2)
for i in range(X):
Y=random.randint(1,X)
print(L[Y],"$",end="")
(a) 10 $7$
(b) 21 $7$
(c) 21 $ 10 $
(d) 7 $