import math
import math result = math.sqrt(25) print(result) # Output: 5.0
5.0
import math angle = math.pi / 4 sin_value = math.sin(angle) cos_value = math.cos(angle) exp_value = math.exp(2) print(sin_value) # Output: 0.7071067811865476 print(cos_value) # Output: 0.7071067811865476 print(exp_value) # Output: 7.3890560989306495
0.7071067811865475 0.7071067811865476 7.38905609893065
import math print(math.pi) # Output: 3.141592653589793 print(math.e) # Output: 2.718281828459045
3.141592653589793 2.718281828459045