import database_menu # Main Menu def main_menu(): enable_menu = True selection = {0: 'Datenbank MenĂ¼', 1: 'Zufallsfrage', 2: 'Programm beenden'} print('# Main MenĂ¼ #\n') while enable_menu: for key, value in selection.items(): print(key, value) selection_number = int(input('Bitte Auswahl treffen\n')) match selection_number: case 0: database_menu.menu() break case 1: # TODO Starte Zufallsfragenausgabe return case 2: # TODO Programm Beenden return