How to import math in python?
![](https://pythonpoint.net/wp-content/uploads/2020/11/Yellow-and-Blue-Initiative-Blog-Banner-5-1024x576.jpg)
Python has a wide variety of libraries or packages which helps us in many ways.
Math has many essential functions which is used to calculate mathematical operations. We can easily import it.
syntax:-
import math
We can use it to find square root.
e.g.,
e.g.,import mathprint(math.sqrt(16))
![](https://pythonpoint.net/wp-content/uploads/2020/11/Screenshot-750-1024x359.png)
There are many functions which is used to do mathematical operations.
This is all about importing math in python
Subscribe
Login
Please login to comment
0 Discussion