Question: Write the main 6 _ student function, that takes a list of Student objects and prints out working students from a particular suburb, and their
Write the mainstudent function, that takes a list of Student objects and prints out working students from a particular suburb, and their expected income for hours work. Example usage: stud StudentCleo 'Adelaide', 'Adelaide', True StudentJake 'Clovelly Park', 'Flinders', True StudentCallum 'Blackwood', 'Flinders', True StudentDavid 'Blackwood', 'Flinders', False StudentClaudia 'Blackwood', 'Flinders', False StudentMona 'Royal Park', 'Adelaide', False StudentClay 'Clovelly Park', 'Flinders', True StudentAmy 'Blackwood', 'Flinders', True StudentWilliam 'Clovelly Park', 'Adelaide', False StudentLuka 'Royal Park', 'Adelaide', True mainstudentstud 'Blackwood'output: Working students from Blackwood with hours payment Callum, payment: Amy, payment:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
