Examveda

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

D. 3 only

Answer: Option C


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python