Q.Write the python program that accept radius of a circle and print its area.


You can understand by Watching video :-



Answer :-

radius = int(input("enter the radius of circle = "))
area = 3.14 * radius**2
print("area of circle = ",area)

Output :-

Enter the radius of circle = 7
Area of circle =  153.86

>>> 

Enter the radius of circle = 40
Area of circle =  5024.0

>>>

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post