# The Square Root Function in Python (Overview)

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**

**00:00**
Welcome to Square Root in Python. My name is Chris, and I will be your guide.

**00:06**
In this course, you will learn what are square roots, powers, and *n*-th roots, how to get a square root in Python, how square roots are calculated, and using square roots in practice.

**00:20**
A quick note on versions: All code in this course was tested with Python 3.9. Square root has been around since the beginning, so most things will work in most versions, and I’ll do my best to point out differences as I go along.

**00:34**
A square is any number multiplied by itself. A square root is a number that when multiplied by itself gives the square. 5 squared is 25, so the square root of 25 is 5.

**00:48**
The knowledge of square roots has been around for thousands of years. There are Babylonian clay tablets dating from 1800 BCE that reference this concept.

**00:57**
Python provides a method for calculating square roots as part of the `math`

library. Next up, I’ll show you some square roots and how to find them in code.

**Christopher Trudeau** RP Team on July 15, 2021

Glad you enjoyed it Doug. Thanks for the feedback, I’ve passed it along to our editors.

Become a Member to join the conversation.

Doug Ouversonon July 14, 2021Thank you, Chris, for a job well done.

I like these short, topical tutorials. I’d like to see more of them.

Cheers!