The math moduleΒΆ

The math module contains the kinds of mathematical functions you would typically find on your calculator and some mathematical constants like pi and e.

Here are some items from the math module in action.

If you want more information, you can check out the Math Module Python Documentation.




(chmodule_02)

Like almost all other programming languages, angles are expressed in radians rather than degrees. There are two functions radians and degrees to convert between the two popular ways of measuring angles.

Next Section - The random module