width = int(input("Enter a width:")) height = int(input("Enter a height:")) filling = input("Filled (y/n):") for i in range(height): for j in range(width): print("+ ", end=" ") print()