Vidyalelo
Python · Q154

Module in Python

Programming · Python · question 154

Q154

What will be the output of the following Python code? import random random.choice(2,3,4)

A.
An integer other than 2, 3 and 4
B.
Either 2, 3 or 4
C.
Error
Answer
D.
3 only

Answer: Option C

Solution

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