CBSE Class 12 Computer Science Question 26 of 62

Using Python Libraries — Question 11

Back to all questions
11
Question

Question 11

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

  1. randfloat()
  2. randint()
  3. random()
  4. randrange()
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.