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)
Tech Library For Developers
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)