Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 Desk

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Information Quality Dimensions, Principles And Techniques

Authors: Carlo Batini, Monica Scannapieco

1st Edition

3319241060, 9783319241067

More Books

Students also viewed these Databases questions