---
title: "Discussion on \"How to calculate Pi in python\" | Hashnode"
description: "Discussion on \"How to calculate Pi in python\". At the moment exists a lot of methods for calculating the famous \\(\\pi\\) number, but in this post, we use a basic and quick method.\nIn the next figure, we see a circle circumscribed on a square. If we calculate the ratio area of the circle on the squ..."
url: "https://hashnode.com/posts/how-to-calculate-pi-in-python/60380466e2f3b459e4e5f2bd"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to calculate Pi in python](https://ndimensions.hashnode.dev/how-to-calculate-pi-in-python?utm_source=hashnode&utm_medium=feed)

At the moment exists a lot of methods for calculating the famous \\(\\pi\\) number, but in this post, we use a basic and quick method. In the next figure, we see a circle circumscribed on a square. If we calculate the ratio area of the circle on the squ...

Feb 25, 2021 · 3 min read · ndimensions.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#math](https://hashnode.com/tag/math)

## Written by

[Irving Flores](https://hashnode.com/@irvingmath)

@irvingmath

  
[View profile](https://hashnode.com/@irvingmath)

python math backend

## Responses 1

Markdown supported · ⌘↵ to post

[theroyakash](https://hashnode.com/@theroyakash)

[Feb 27, 2021](https://hashnode.com/posts/how-to-calculate-pi-in-python/60380466e2f3b459e4e5f2bd/comment/603a08ae9aeaec6b8ed52db3)

Very cool implementation, loved it.
