Python Program to Calculate Area of a Circle



The formula to calculate the area of circle is π(pi)*r^2. The value of π is equal to 3.14(approx)



  1. #Calculate area of a circle
  2. a=float(input("Enter radius of the circle: "))
  3. area=3.14*a*a
  4. print("Area of the circle is: ", area)

Output


Output!