width = int(input("Enter a width: ")) height = int(input("Enter a height: ")) print("Here is your box:") while height > 0: print("+ " * width) height -= 1