# DEF Mini Project — Banner
# def — write once, call anywhere, output stays consistent

# ─────────────────────────────────────────────
# Banner function
# ─────────────────────────────────────────────

def banner():
    title = input("Enter a title: ")
    border = "=" * len(title)
    print(border)
    print(title)
    print(border)

# ─────────────────────────────────────────────
# Call it
# ─────────────────────────────────────────────

banner()
banner()
banner()

# Enter a title: RedHorn
# =======
# RedHorn
# =======

# Enter a title: Control Flow
# ============
# Control Flow
# ============

# three calls — three banners — one definition

# ─────────────────────────────────────────────
# Go further
# ─────────────────────────────────────────────

# Change the border character — use *, -, or # instead of =
# Add padding — blank line before and after the banner
# Add side borders — | RedHorn | instead of just RedHorn
