KnowledgeBoat Logo

Computer Science

Which of the following is not a function/method of the random module in Python ?

  1. randfloat()
  2. randint()
  3. random()
  4. randrange()

Python Libraries

3 Likes

Answer

randfloat()

Reason — Some most common random number generator functions in random module are random(), randint(), uniform(), randrange(). Hence, randfloat() is not a function of random module.

Answered By

2 Likes


Related Questions