Computer Science

Which of the following random module functions generates an integer ?

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

Python Libraries

8 Likes

Answer

randint()

Reason — Random module function randint() returns a random integer.

Answered By

3 Likes


Related Questions