4.4) Exercise 5 - Math Module
Here are some examples of values and functions from the math module. Try them out for yourself:
import math math.pi * 2 math.sqrt math.factorial(5) math.e math.exp(1) math.log(2) # base e math.log10(2) # base 10 math.sqrt(4) math.cos(math.pi) math.atan(1) math.asin(1)*2./math.pi math.radians(90)/math.pi math.degrees(math.pi)