Computer Science

Which of the following random module functions generates a floating point number ?

  1. random()
  2. randint()
  3. uniform()
  4. all of these

Python Libraries

2 Likes

Answer

random()
uniform()

Reason — Random module functions random() and uniform() both return random floating point number .

Answered By

1 Like


Related Questions