Question: in Python language thanks Write a Python program to solve the following problem: Information is available about the latest municipal election. For each voter, the
Write a Python program to solve the following problem: Information is available about the latest municipal election. For each voter, the following data is given: . voter id number . age of voter the ward number (1, 2, 3 or 4) in which the voter resides the name of the person the voter selected for mayor Input this information and compute and output the following statistics: the total number of people who voted the number of people between age 30 and 50, inclusive, who voted for John Smith the number of people from Ward 2 who voted the number of people who did not vote for John Smith
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
