to import modules write import and the name of the module you want.
import random
and now you can use the functions of that module.
here is a list of modules in python:
Mastery13 – Importing and using python modules by sergio is licensed under a Creative Commons Attribution 4.0 International License.