#this program will cauculate the area #and circumference of a shape #find out from user what shape they want to cauculate shape = input("Enter s for square, r for rectangle, or c for circle") #checking to see what shape is being cauculated and ask for use input if shape == "s": print("square") length = float(input("what is the length? ")) area = length * length perimeter = length * 4 shape = "square" elif shape == "r": print("rectangle") length = float(input("what is the length? ")) width = float(input("what is the width? ")) area = length * width perimeter = (length + width)*2 shape = "rectangle" elif shape == "c": print("circle") radius = float(input("what is the radius? ")) area = 3.14 * radius **2 circumfrence = 3.14 * raduis * 2 shape = "circle" else: print("doh! invalid input") #print statement of correct shape if shape == "square" or shape== "rectangle": print(f"the area of the {shape} is {area}, the perimeter is {perimeter} m") elif shape == "cicle ": print (f"the area