Statistics Module in Python
It is a built-in module which provides functions for calculating statistics of numeric (Real-valued) data.
In order to use the statistics module we need to import it using the following statement:
import statistics
Commonly used functions in statistics module are given below: