t = input("Enter some text: ") sillytext = "+" + "-" * (len(t) + 2) + "+" print(sillytext) print("|", t, "|") print(sillytext)