area of circle
there are two ways in which you can find area of a circle
1) Area of Cirlce = πr²
2) Area of Circle = Circumference × Radius × (1/2)
2nd one is Easier
area of circle
there are two ways in which you can find area of a circle
1) Area of Cirlce = πr²
2) Area of Circle = Circumference × Radius × (1/2)
2nd one is Easier
area of a circle
def circle(radius):
return radius * math.pi * 2
area of circle
The area of a circle is pi times the radius squared (A = π r²). Learn how to use this formula to find the area of a circle when given the diameter.
how to find area of circle
def circle(radius):
3.14 * radius * radius
circle(12)
circle python programe
#Area and circumference of a circle.
r=float(input('Enter the radius of the circle :'))
pi=22/7
area=pi*r**2
circumference=2*pi*r
print('The area of the circle is',area)
print('The circumference of the circle is',circumference)
_______________________________________________________________________________
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us