Examveda

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

Answer: Option A


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python