text = input("enter some text") len1 =len(text) print ("+", len1 * "-", "+") print ("|" , text , "|") print ("+", len1 * "-", "+")