# Functions go here def make_statement(statement, decoration, lines=1): """Creates heading (3 lines), subheading (2 lines) and emphasised text / mini-heading (1 line). only use emoji for single line statements""" 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) print() make_statement("Programming is still Fun!", "*", 2) print() make_statement("Emoji in Action", "",)