From 4e54c146778d00abaa56e4148339941af9d89a38 Mon Sep 17 00:00:00 2001 From: Sylvia Blaho Date: Tue, 16 Apr 2024 01:04:08 +0200 Subject: [PATCH] change goodbye message to ASCII font #21 --- run.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/run.py b/run.py index e9689f6..dfb96f9 100644 --- a/run.py +++ b/run.py @@ -23,7 +23,6 @@ "\nJust select the dishes or drinks you want to make for your guests," "\nand the app generates a shopping list for you!\n") - # Based on the Love Sandwiches project # import entire library @@ -116,7 +115,10 @@ def ask_more(): # get global variables global _dishes global _planning - goodbye_message = "\n" + Fore.MAGENTA + "Have fun! 🍸 🍽 🍱 🧁" + Fore.RESET + # goodbye_message = "\n" + Fore.MAGENTA + "Have fun! 🍸 🍽 🍱 🧁" + Fore.RESET + goodbye_message = "\n" + Fore.MAGENTA \ + + pyfiglet.figlet_format("Have fun!", font="doom")\ + + Fore.RESET # check if there are dishes left (note: dishes[0] = '', so this should not be counted) if len(_dishes.dish_data) > 1: # ask user if they want to add a dish to the shopping list, make input uppercase