2. Math Methods
What are Math Methods?
Python has a vast number of math functions built-in to perform calculations in your programs without much hassle.
How do you use Math Methods?
You call math methods in a similar way to string methods. First, type in the word math, then type in the name of the method you want to call.
All Math Methods
Here is a list of all the string methods found in python. Refer back to this anytime you need to!
Returns the arc of the cosine number.
Returns the arc tangent of a number in radians.
Returns the sin number.
Converts an angle form radians to degrees.
Returns the arc of the sin number.
Return the cosine number.
Returns the tangent of a number in radians.
Returns the absolute value of a number.