txt= str(input("Enter some text: ")) txtamount= int (len( txt)) print("+" + ( "-" * txtamount ) + "+" ) print("{" + txt + "}") print("+" + ( "-" * txtamount ) + "+" )