Computer Science

Which of the following random module functions generates an integer ?

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

Python Libraries

3 Likes

Answer

randint()

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

Answered By

2 Likes


Related Questions