WAP using python to find area of circle
Share
WAP using python to find area of circle
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Explanation:
PI = 3.14
r = float(input('Enter the radius of the circle :'))
area = PI * r * r
print("Area of the circle is : %.2f" %area)
#method 2
import math
r = float(input('Enter the radius of the circle :'))
area = math.pi * r * r
print("Area of the circle is : %.2f"
HOPE IT HELPS YOU........✌️
PLEASE MARK ME AS A BRAINLIST AND THANK MY ANSWER ❤️
❤️FOLLOW ME❤️
Answer:
Hey this is in python...
r = float(input("Enter radius of circle: "))
a = 3.14*r*r
print("Area of circle = ", a)
# HOPE THIS HELPS!!