Python's Math module has many powerful commands that allows you to perform many mathematical tasks easily.
#Python #AI #MachineLearning
#100DaysOfCode #DataScience
Let's have a look at some of them ๐งต โ
1. math.sqrt is used to return the square root of a number.
Example ๐
2. math.fabs() is used to return the absolute value of a number.
Example ๐
3. math.pow() is used to return base raised to exp power.
Example ๐
4. There are some trigonometric functions too , math.sin() , math.cos() and math.tan() return the values of their arguments.
Example ๐
5. Math.degrees is used to convert an angle from radians to degrees.
Example ๐
6. math.radians is used to convert an angle from degrees to radians.
Example ๐
Thankyou for reading the thread.
I hope you got something to learn from this thread. Make sure to give it a retweet for your audience to enjoy as well.
Also , follow me if you are interested in #Python #webdevelopment #javascript โค
@TheGeekyB0y
Share this Scrolly Tale with your friends.
A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.