What Will Be The Output Of The Following Python Codep Pre #858
What will be the output of the following Python code?</p> <pre><code class="language-python">import random random.choice([10.4, 56.99, 76])</code></pre>
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Python Modules - Python Random Module - Quiz No.1.
What will be the output of the following Python code?
import random random.choice([10.4, 56.99, 76])
Error
Either 10.4, 56.99 or 76
Any number other than 10.4, 56.99 and 76
56.99 only