Hello guys. How are you all? I hope you all fine. In this tutorial we will learn about** How to get square root in python**. so without wasting time lets learn about of this.

## square root in python

##### square root in python

To gets quare root in python just

**Use sqrt()**.By using sqrt() you can get square root in python. Lets learn about of this by given below example:Output :`import math print ("math.sqrt(49) : ", math.sqrt(49)) print ("math.sqrt(81) : ", math.sqrt(81))`

**math.sqrt(49) : 7.0 math.sqrt(81) : 9.0**##### How to get square root in python?

To gets quare root in python just

**Use math.pow()**.By using math.pow() you can get square root in python. Lets learn about of this by given below example:Output :`import math SquareRoot = math.pow(81, 0.5) print(" The Square Root of the given number {0} = {1}" .format(81, SquareRoot))`

**The Square Root of the given number 81 = 9.0**##### python sqrt

To gets quare root in python just

**Use math.pow()**.By using math.pow() you can get square root in python. Lets learn about of this by given below example:Output :**The Square Root of the given number 81 = 9.0**

## Method 1: Use sqrt()

By using sqrt() you can get sqrt. Lets learn about of this by given below example:

```
import math
print ("math.sqrt(49) : ", math.sqrt(49))
print ("math.sqrt(81) : ", math.sqrt(81))
```

Output :

```
math.sqrt(49) : 7.0
math.sqrt(81) : 9.0
```

## Method 2: Use math.pow()

By using math.pow() you can get square root. Lets learn about of this by given below example:

```
import math
SquareRoot = math.pow(81, 0.5)
print(" The Square Root of the given number {0} = {1}" .format(81, SquareRoot))
```

Output :

` The Square Root of the given number 81 = 9.0`

**Conclusion**

It’s all About this Tutorial. Hope all methods helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which method worked for you?

**Also, Read**