Find the Highest-Paid Employee

Write highest_paid_employee(names, salaries). The lists have the same non-zero length, and matching indexes belong to the same employee. Return [name, salary] for the highest-paid employee; use the first employee when salaries tie.

Examples

  • [["Asha","Bikash","Chen"],[32000,41000,38000]]["Bikash",41000]

Your solution

Python

Results

Python starts when you run or submit this challenge.

Back to Lesson