Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 24376

Real Python: The Square Root Function in Python

$
0
0

Are you trying to solve a quadratic equation? Maybe you need to calculate the length of one side of a right triangle. You can use the math module’s sqrt() method for determining the square root of a number. This course covers the use of math.sqrt() as well as related methods.

In this course, you’ll learn:

  • About square roots and related mathematical operations
  • How to use the Python square root function, sqrt()
  • Where sqrt() can be useful in real-world examples

[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]


Viewing all articles
Browse latest Browse all 24376

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>