def map_choice_to_function(choice, facade): if choice == "0": to_previous_menu(facade) elif choice == "1": delete_history(facade) elif choice == "2": quit_program(facade) else: print("Choice not recognized.")
def map_choice_to_function(self, choice): if choice == "0": interface_common.to_previous_menu() elif choice == "1": self.delete_history() elif choice == "2": interface_common.quit_program(self.notes_facade) else: print("Choice not recognized.")
def map_choice_to_function(choice, facade): if choice == "0": to_previous_menu(facade) elif choice == "1": clear_screen() pass elif choice == "2": quit_program(facade) else: print("Choice not recognized.")
def map_choice_to_function(self, choice): if choice == "0": interface_common.to_previous_menu() elif choice == "1": interface_common.clear_screen() pass elif choice == "2": interface_common.quit_program(self.notes_facade) else: print("Choice not recognized.")
def map_choice_to_function(choice, facade): if choice == "0": to_previous_menu(facade) elif choice == "1": make_a_note(facade) elif choice == "2": set_a_task(facade) elif choice == "3": print_contents(facade) elif choice == "4": complete_task(facade) elif choice == "5": print_overdue_tasks(facade) elif choice == "6": print_scrum_notes(facade) elif choice == "7": quit_program(facade) else: print("Choice not recognized.")