Python comes with a built-in math library called `math` which provides various mathematical functions and constants. Here is an example of how you can use the `math` library in Python:
import math
# Calculate the square root of a number
num = 16
sqrt = math.sqrt(num)
print("Square root of", num, "is", sqrt)
# Calculate the factorial of a number
num = 5
factorial = math.factorial(num)
print("Factorial of", num, "is", factorial)
# Calculate the sin of an angle in radians
angle = math.pi / 4
sin = math.sin(angle)
print("Sin of", angle, "is", sin)
# Calculate the logarithm base 10
num = 100
log = math.log10(num)
print("Logarithm base 10 of", num, "is", log)