Import and Used Libraries in Python

--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:

Screenshot from 2016-08-25 11-01-40

This code is how to run a simple random:

Screenshot from 2016-08-25 11-01-57

The Result of the code is the next one:

Screenshot from 2016-08-25 11-03-28

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/