Displays menu. Shows the heading. Prints out all selections from the menu.
()
| 44 | return get_answer() |
| 45 | |
| 46 | def show_menu(): |
| 47 | '''Displays menu. |
| 48 | |
| 49 | Shows the heading. |
| 50 | Prints out all selections from the menu.''' |
| 51 | show_heading('MENU') |
| 52 | print '(1) Create Key' |
| 53 | print '(2) Encode File' |
| 54 | print '(3) Decode File' |
| 55 | print '(4) Exit Program' |
| 56 | |
| 57 | |
| 58 | def get_answer(): |
| 59 | '''Receives selection. |