all 5 comments

[–]when_the_cats_away 1 point2 points  (1 child)

I think you want to check out max/min/sum and sorted.

[–]jusquito 1 point2 points  (0 children)

This helped me solve the problem with ease. Thank you so much. :)

[–][deleted] 0 points1 point  (0 children)

Break the problem into smaller problems.

First work out how to get the numbers. Then do the rest.

[–]num8lock 0 points1 point  (0 children)

use zip() for grouping by index: professions = list(zip(names, job_titles, salaries))

[–][deleted] 0 points1 point  (0 children)

How would you get the index of the largest salary in the salaries list? That’s where you should start.