This is a simple program to calculate area of a circle by taking radius as input from user.
print("Enter the radius of a circle to calculate area :") radius=int(input()) import math area=math.pi*radius*radius print("Area of the circle is",area)
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.