Computer Science

To include the use of functions which are present in the random library, we must use the option:

  1. import random
  2. random.h
  3. import.random
  4. random.random

Python Modules

3 Likes

Answer

import random

Reason — To use functions from the random library in Python, we must include the line import random at the beginning of code.

Answered By

1 Like


Related Questions