t = input("Put some text: ") cube = len(t) + 5 print("+" + "=" * (cube - 2) + "+") print("| " + t + " |") print("+" + "=" * (cube - 2) + "+")