import pandas # Functions go here def make_statement(statement, decoration, lines=1): """Creates headings (3 lines), subheadings (2lines) and emphasised text / mini-headings (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) # burger lists burger_items = ["Cheeseburger", "Bacon Burger", "Chicken Burger", "Veggie Burger", "Double Beef", "BBQ Burger", "Mushroom Swiss", "Fish Burger", "Spicy Jalapeño", "Classic Burger"] special_burger = ["Lamb Burger", "Pulled Pork Burger"] burger_cost = [7.50, 7.50, 7.50, 7.50, 7.50, 7.50, 7.50, 7.50, 7.50, 7.50, 5.50, 7.80] # burger sizes burger_size = ["Small", "Medium", "Large"] burger_size_cost = [2.50, 3.50, 4.50] # combine into one dictionary for now burger_dict = { 'Burger': burger_items + special_burger, 'Price': burger_cost, } # create dataframe burger_frame = pandas.DataFrame(burger_dict) # Main routine goes here make_statement(statement="Bun Bro's", decoration="🍔") print(burger_frame)