Answered step by step
Verified Expert Solution
Question
1 Approved Answer
language : python Function Name: summer_job() Parameters: a list of job tuples ( list ) Returns: highest paying job ( str) Description: You are looking
language : python
Function Name: summer_job() Parameters: a list of job tuples ( list ) Returns: highest paying job ( str) Description: You are looking to find a job on campus for this summer to save money for a study abroad. Write a function that takes in a list of tuples in the format of (job title (str), hourly pay ( float ), hours per week (int)), and determines in which job you would make the most money weekly. If two jobs have the same weekly pay, return the job that appears first in the list. Assume that tax is already accounted for. Note: These numbers are not representative of the true salaries. >>> jobs = [("Teaching Assistant", 8.50, 12), ("Office of International Affairs ", 9, 8), ("CRC", 7.50, 15)] >>> print (summer_job(jobs)) 'CRC' >>> jobs = [("Tour Guide", 15, 4), ("CULC Help Desk", 9.25, 10), ("Tutor", 8.00 , 7)] >>> print (summer_job(jobs)) 'CULC Help DeskStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started