What is import math…
 
Notifications
Clear all

What is import math in python ?

1 Posts
2 Users
0 Likes
170 Views
0
Topic starter

import math

1 Answer
0

The math module is a standard module in Python and is always available. To use mathematical functions under this module, you have to import the module using import math . It gives access to the underlying C library functions. For example, # Square root calculation import math math.sqrt(4)

Share: