What Will Be The Output Of The Following Python Function If The #861
What will be the output of the following Python function if the random module has already been imported?</p> <pre><code class="language-python">random.randint(3.5,7)</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 function if the random module has already been imported?
random.randint(3.5,7)
Error
Any integer between 3.5 and 7, including 7
Any integer between 3.5 and 7, excluding 7
The integer closest to the mean of 3.5 and 7