text = input("Enter some text: ") word = (text) width = len(word) print("+" + "-"* width + "+") print("|" + word + "|") print("+" + "-"* width + "+")