# Program to compute the area and perimeter of Hexagon import mathprint("Enter the length of the side:")a=int(input())area=(3*math.sqrt(3)*math.pow(a,2))/2.0perimeter=(6*a)print("Area of the Hexagon = ",area)print("Perimeter of the Hexagon = ",perimeter)