Question: In Python. You are required to develop a simple console-based application for the registration of voters. Your code should take data form user and save
In Python. You are required to develop a simple console-based application for the registration of voters. Your code should take data form user and save it into a text file. You will make voter class and a Voter Test class. The Voter Class must have following attributes: National ID Card Number(*), Name ,Father/Husband's name, Age ,Address ,Province Save the data in a file using file handling. And while if you want retrieve the data use the previous data from the file. Your console menu should look like Voter Registration Form: 1. Add New Voter 2. List All Voters 3. Find a Voter By Name or by Id (ask user first what by what means you want to search) 4. Exit
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
