Python Program to calculate the Area of Circle

# Area = PI * R * R

pi=3.1428
r=float(input("Enter radius of Circle:"))
area=pi*r*r
print("The Area of Circle with",r,"radius is",area)



Output
>>>
Enter radius of Circle:4
The Area of Circle with 4.0 radius is 50.2848
>>>


No comments

Post your comments

Powered by Blogger.