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!
Please click on the like button if it worked

Solution not working or have any suggestions? Please send an email to [email protected]


Join Our Facebook Group


Share this example


Download Android App





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