Write a Python program to enter radius of a circle and find its diameter, circumference and area.
PROGRAM
import math
# Input: Radius
radius = float(input(“Enter the radius of the circle: “))
# Calculate Diameter
diameter = 2 * radius
# Calculate Circumference
circumference = 2 * math.pi * radius
# Calculate Area
area = math.pi * radius ** 2
# Output the results
print(“Diameter of the circle is:”, diameter)
print(“Circumference of the circle is:”, circumference)
print(“Area of the circle is:”, area)
OUTPUT
