Question: def vote _ menu ( ) : This function should display the vote menu and return the response selected by the user to the main
def votemenu: This function should display the vote menu and return the
response selected by the user to the main function. It should contain logic to
account for invalid response input.
Please note: Use the function name provided. The function should have no
parameters and must return a string value.
def candidate menu: This function should display the candidate menu and
return the response selected by the user to the main function. It should contain
logic to account for invalid response input.
Please note: Use the function name provided. The function should have no
parameters and must return a numeric value.
def main: This function is responsible for keeping track of the vote count and
displaying the final output.
Please note: Use the function name provided. The function should have no
parameters and must return no value.
You are free to use more functions than those listed. Use the sample output to
guide you on the program logic.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
