Exercise 9: A Centred Banner — Possible Solution ==================================================================== print(f"{'MENU':-^20}") Output: --------MENU-------- WHY THIS WORKS AS AN ANSWER ------------------------------ The format spec :-^20 has three parts: "-" is the fill character to pad with (instead of the default space), "^" means centre-align, and 20 is the total field width. Python centres "MENU" (4 characters) inside a 20-character field and fills every remaining position with dashes. 20 - 4 = 16 splits evenly, so both sides get exactly 8 dashes. Had the total width been odd instead (e.g. 21), the split wouldn't divide evenly, and Python's centring puts the extra fill character on the right side rather than the left.