Question: Task # 0 2 : Properly calculated and displayed the election results Test Feedback: Status: FAILED! Check: 1 Test: Testing the correct calculation of election

Task #02: Properly calculated and displayed the election results
Test Feedback:
Status: FAILED! Check: 1 Test: Testing the correct calculation of election results Reason: Unable to find '['Candidate Votes Received % of Total Votes', 'Vader 130019.59', 'Kirk 125018.84', 'Adama 100015.07', 'Reynolds 161524.34', 'Oneill 147022.16', 'Total 6635', 'The Winner of the Election is: Reynolds']' in the program's output. Enter the number of candidates: Enter the last name of candidate 1: Enter the votes receievd by candidate 1: Enter the last name of candidate 2: Enter the votes receievd by candidate 2: Enter the last name of candidate 3: Enter the votes receievd by candidate 3: Enter the last name of candidate 4: Enter the votes receievd by candidate 4: Enter the last name of candidate 5: Enter the votes receievd by candidate 5: Candidate Vote Receieved % of Total Votes Vader 130019.59 Kirk 125018.84 Adama 100015.07 Reynolds 161524.34 Oneill 147022.16 Total 6635 The Winner of the Election is Reynolds . Error : AssertionError - Unable to find Candidate\s+Votes\s+Received\s+% of Total\s+Votes in the program's output. Timestamp: 2024-11-2423:52:27.909223

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!