Numbers are one of the data types in Python. We can store numeric values. Python has four built-in numeric data types. Those are:
- Floating point numbers
- Complex numbers
Common mathematical functions
Python provides the following built-in mathematical functions. The illustration of each is shown in below:
Mathematical functions in math module
Python provides some built-in mathematical functions for doing calculations. Before going to that we should know about math module.
In Python the math module is a standard module. To use mathematical functions, you have to import the module using import math.
Some standard mathematical functions in math module are described in below examples.