Question: write a python program that given state governor election data, output the overall governor state election results, and output the overall governor state county election
write a python program that given state governor election data, output the overall governor state election results, and output the overall governor state county election results of an individual county in the state.
To describe the program, lets start with a sample interaction. As usual, boldface denotes the inputprovidedbytheuser.
++++++++++++++++++++++++++++++++++++++++
(S)tate Governor Results
(C)ounty Governor Results
(T)erminate Program
++++++++++++++++++++++++++++++++++++++++
Make Selection: S Enter State Name for Governor Election Results: vermont Results for Governor Race in the State of VERMONT ============================================================================================
Total Votes for: Phil Scott Republican is 248,412 68.49% Counties Won: 242 (Won)
Total Votes for: David Zuckerman Democrat is 99,214 27.35% Counties Won: 4
++++++++++++++++++++++++++++++++++++++++
(S)tate Governor Results
(C)ounty Governor Results (
T)erminate Program
++++++++++++++++++++++++++++++++++++++++
Make Selection: C
Enter State Name for Governor Election Results: vermont
Enter County Name for Governor Election Results: Lunenburg Results for Governor Race in the County of LUNENBURG in VERMONT ============================================================================================
Total Votes for: Phil Scott Republican is 451 71.25% (Won)
Total Votes for: David Zuckerman Democrat is 110 17.38%
++++++++++++++++++++++++++++++++++++++++
(S)tate Governor Results
(C)ounty Governor Results
(T)erminate Program
++++++++++++++++++++++++++++++++++++++++
Make Selection: T Terminating program...
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
