Radius of Circle

Radius is one of the important parts of a circle. It is the distance between the center of the circle to any point on its boundary. In other words, when we connect the center of a circle to any point on its circumference using a straight line, that line is the radius of that circle. Circles are one of the most commonly found shapes in the world. The fascinating properties of circles make it an important topic in geometry.

 code:-

from math import pi
radius = float(input ("Input the radius of the circle : "))
print ("The area of the circle with radius " + str(radius) + " is: "
 + str(pi * radius**2))

output:-

Input the radius of the circle : 5

The area of the circle with radius 5.0 is: 78.53981633974483

1 Comments

If you have any doubts, Please let me know
Thanks!


  1. factorial hundred In the last few days, the “factorial of 100” is one of the top subjects and a lot of maths geeks compute it using voice assistants such as Alexa, Shiri, etc.

    ReplyDelete

Post a Comment

If you have any doubts, Please let me know
Thanks!

Previous Post Next Post