print("This program will calculate the area, perimeter and circomfrance of a shape.. lets begin") keep_going = "" while keep_going == "": shape = input("choose a shape from square, circle or rectangle ") if shape == "square": area_or_perimeter = input("Area or perimeter") length = float (input("what is the length of a side ")) area = length * length per = length * 4 print(f"the area of your square is {area} ") print (f"perimiter is {per} ") elif shape == "rectangle": hight = float (input("how tall is the shape ")) width = float (input("how wide is the shape ")) area_r = hight * width perimiter = hight + width * 2 print(f"the area of the rectangle is {area_r} ") print(f"the perimiter is {perimiter} ") elif shape == circle: radius = float (input("what is the diamiter of your circle ")) import math area = math.pi * (radius ** 2) circumference = 2 * math.pi * radius print(f" the area of this circle is {area} ") print(f"the circumfernce is {circumference} ") else: print("invaled response") print(" THE PROGRAM HAS ENDED ")