Write a Python program to enter radius of a circle & find its diameter circumference & area.

#Static

 radius = 10
 
pi = 3.14
 
diameter = 2 * radius
 
cir = 2*pi*radius
 
area = pi*radius*radius
 
print(“The diameter of a Circle :-“,diameter)
 
print(“The circumference of a Circle :- “,cir)
 
print(“The area of a Circle :- “,area)

 

#Dynamic

radius = int(input(“Enter the radius of a Circle :-“))
 
pi = 3.14
 
diameter = 2 * radius
 
cir = 2*pi*radius
 
area = pi*radius*radius
 
print(“The diameter of a Circle :-“,diameter)
 
print(“The circumference of a Circle :- “,cir)
 
print(“The area of a Circle :- “,area)