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