We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf1d900 commit c6e5bd9Copy full SHA for c6e5bd9
PyElection/election_data.py
@@ -94,6 +94,7 @@ def average(numbers):
94
output_file.write("\n Li: " + str(Li_percentage) + "% (" + str(Li) + " votes)")
95
output_file.write("\n O'Tooley: " + str(OTooley_percentage) + "% (" + str(OTooley) + " votes)")
96
output_file.write("\n -------------------------------------------------------")
97
+ output_file.write("\n Winner: " + str(winner))
98
output_file.close()
99
100
PyElection/election_results.txt
@@ -8,4 +8,5 @@ Election Results:
8
Correy: 20.0% (704200 votes)
9
Li: 14.0% (492940 votes)
10
O'Tooley: 3.0% (105630 votes)
11
- -------------------------------------------------------
+ -------------------------------------------------------
12
+ Winner: Khan
0 commit comments