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!




codesadda.com

Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more. Sign Up for our weekly newsletter to get update about new content.

Like us on Facebook | Connect with us on LinkedIn | Subscribe our Channel on Youtube