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

## How to use pi in python

**use pi in python**to use pi in python just

**Use scipy.pi**. using scipy.pi() you can use pi in python. It is very easy to use. Lets learn about of this by given below example:Output :`import scipy print(scipy.pi)`

**3.141592653589793****How to use pi in python**to use pi in python just

**Use math.radians()**. Using math.radians() you can use pi in python. It is very easy to use. Lets learn about of this by given below example:Output :`import math math.radians(90) math.radians(180)`

**1.5707963267948966 3.141592653589793****pi in python**To use pi in python just

**Use scipy.pi**. using scipy.pi() you can use pi in python. It is very easy to use. Lets learn about of this by given below example:Output :`import scipy print(scipy.pi)`

**3.141592653589793**

## Method 1: Use scipy.pi

using scipy.pi() you can use pi in python. It is very easy to use. Lets learn about of this by given below example:

```
import scipy
print(scipy.pi)
```

Output :

```
3.141592653589793
```

## Method 2: Use math.radians()

Using math.radians() you can use pi. It is very easy to use. Lets learn about of this by given below example:

```
import math
math.radians(90)
math.radians(180)
```

Output :

```
1.5707963267948966
3.141592653589793
```

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