Vidyalelo
Python · Q45

Module in Python

Programming · Python · question 45

Q45

What will be the output of the following Python code? import random random.choice([10.4, 56.99, 76])

A.
Error
B.
Either 10.4, 56.99 or 76
Answer
C.
Any number other than 10.4, 56.99 and 76
D.
56.99 only

Answer: Option B

Solution

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