Dynamic
import math
radius = float(input(“Enter the radius of the Circle :- “))
area = math.pi * radius * radius
circum = 2 * math.pi * radius
print(“Area of a Circle is :- “,area)
print(“Circumference of a Circle is : – “,circum)
# Square
side = float(input(“Enter side of the Square :-“))
area = side * side
per = 4 * side
print(“Area of Square is “,area)
print(“Perimeter of Square is “,per)
# rectangle
length = float(input(“Enter the length of a rectangle :-“))
breadth = float(input(“Enter the Breadth of a rectangle :-“))
area = length * breadth
per = 2 *(length + breadth)
print(“Area of Rectangle is “,area)
print(“Perimeter of Rectangle is “,per)
# Traingle
side1 = float(input(“Enter Side 1 of the traingle :-“))
side2 = float(input(“Enter Side 2 of the traingle :-“))
side3 = float(input(“Enter Side 3 of the traingle :-“))
s =(side1 +side2 + side3)/2
area = math.sqrt(s*(s-side1)*(s-side2)*(s-side3))
per = side1 + side2 + side3
print(“Area of Traingle is “,area)
print(“Perimeter of Traingle is “,per)