MCPcopy Create free account
hub / github.com/ActiveState/code / menu

Function menu

recipes/Python/456374_Crypt/recipe-456374.py:38–44  ·  view source on GitHub ↗

Handles menu. Shows the menu. Get and returns a selection.

()

Source from the content-addressed store, hash-verified

36 print underline
37
38def menu():
39 '''Handles menu.
40
41 Shows the menu.
42 Get and returns a selection.'''
43 show_menu()
44 return get_answer()
45
46def show_menu():
47 '''Displays menu.

Callers 1

mainFunction · 0.70

Calls 2

show_menuFunction · 0.85
get_answerFunction · 0.85

Tested by

no test coverage detected