Vidyalelo
Python · Q126

Module in Python

Programming · Python · question 126

Q126

What will be the output of the following Python function (random module has already been imported)? random.choice('sun')

A.
sun
B.
u
C.
either s, u or n
Answer
D.
error

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board