To include the use of functions which are present in the random library, we must use the option:random.himport randomrandom.randomimport.random code example
Example: which function to use in random module for a list in python
random.choice
random.choice