--Originally published at Ed_Alita
In Python there are all lot of functions that are not in it. In this cases they are called libraries which can be imported. There is a list on which libraries are default in python3 here. Let’s how they work:
This how to import a libraries:
This code is how to run a simple random:
The Result of the code is the next one:
The resources of this information is the next one:
http://www.pythonforbeginners.com/random/how-to-use-the-random-module-in-python
https://docs.python.org/2/library/