EnterText = input("Enter Text:") length =len(EnterText) +2 print("+"+"-"*(length - 2)+"+") print("|"+EnterText+"|") print("+"+"-"*(length - 2) + "+")