# Functions go here def make_statement(statement, decoration, lines): """Emphasizes headings by adding decoration at the start and end""" middle = f"{decoration * 3} {statement} {decoration * 3}" top_bottom = decoration * len(middle) if lines == 1: print(middle) elif lines == 2: print(middle) print(top_bottom) else: print(top_bottom) print(middle) print(top_bottom) # Main routine goes here make_statement("Programming is Fun!", "=", 3) make_statement("Programming is still Fun!", "*", 2) make_statement("Emoji in action", "✔", 1)