Page 1 of 1

What will be the output of the following Python function if the random module has already been imported?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
random.randint(3.5,7)
a) Error
b) Any integer between 3.5 and 7, including 7
c) Any integer between 3.5 and 7, excluding 7
d) The integer closest to the mean of 3.5 and 7