print("Welcome To Boxes") input("Type Y To Continue ---> ") width=int(input("Enter A Width: ")) height=int(input("Enter A Height: ")) filled=(input("Filled? (y/n): ")) if filled == "y": for i in range( height ) : print( "+ " * width ) else: print("+ " * width) for i in range(height - 2): print("+" + " " * (width * 2 - 3) + "+") if height > 1: print("+ " * width)