What will be the output of the following Python function if the random module has already been imported? [code]random.randint(3.5,7)[/code]

What will be the output of the following Python function if the random module has already been imported?
Code:
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
 

Tìm kiếm

Back
Top