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