num1=int(input("pick a highet:")) num2=int(input("pick a width:")) fill=input("fill y/n:") print("here is your box") if fill == ("y"): for number in range(num1): print(" + "*num2) elif fill == ("n"): for i in range(num1): if i == 0 or i == num1 - 1: print("+" * num2) else: print("+" + " " * (num2 - 2) + "+")