Area of Circle in Python

Area of Circle in Python

In this example, you will learn and get the program code to find area of circle in python. The formula to calculating the area of circle is the following:

Area of Circle Formula

Area = pi * r2

where pi = 22/2 or 3.14 and r is the radius of the circle.

Program code to find Area of Circle in Python

Output:

Enter the radius of the circle: 2
The area of the circle is: 12.566370614359172

 

 

 

 

 

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top