calculate the area of a circle code example
Example 1: area of circle
R = (3.14*r*r);
Example 2: area of circle
Area of circle = Pi * r^2 (r stands for radius and ^2 means squared)
Example 3: area of a circle
def circle(radius):
return radius * math.pi * 2
Example 4: how to find area of circle
def circle(radius):
3.14 * radius * radius
circle(12)