# Homework 12, challenge: Title block. # # Print a title with a dashed border above and below. The border # must be exactly len(title) + 4 characters long (two extra dashes on # each side of " TITLE "). Use string repetition and len() so that # changing the title changes the border automatically. # # Example output for title = "INVENTORY": # # ------------- # -- INVENTORY -- # Inside text goes here # -- INVENTORY -- # ------------- # # Run with: python exercises/12/homework/04-title-block.py title = "INVENTORY" # Your code goes here: