Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Defining global data structures for program.
- # Populated list containing names of all tutorgroup.
- tutorgroups = ['7A', '7B', '7C', '7D', '7E', '7F',
- '8A', '8B', '8C', '8D', '8E', '8F',
- '9A', '9B', '9C', '9D', '9E', '9F',
- '10A', '10B', '10C', '10D', '10E', '10F',
- '11A', '11B', '11C', '11D', '11E', '11F']
- # List to hold num of students in each tutorgroup.
- nums_of_students = [0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0]
- # List to hold num of candidates for each tutorgroup.
- nums_of_candidates = [0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0]
- # 2D list (list of lists), to hold the candidate names for each tutorgroup.
- candidate_names = [[], [], [], [], [], [],
- [], [], [], [], [], [],
- [], [], [], [], [], [],
- [], [], [], [], [], [],
- [], [], [], [], [], []]
- # 2D list (list of lists), to hold num of abstentions and candidate votes for
- # each tutorgroup.
- candidate_votes = [[], [], [], [], [], [],
- [], [], [], [], [], [],
- [], [], [], [], [], [],
- [], [], [], [], [], [],
- [], [], [], [], [], []]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement