Find the Top-Scoring Subject

Write top_scoring_subject(subjects, scores). The lists have the same non-zero length. Return the subject at the highest score; if scores tie, return the first matching subject.

Examples

  • [["Math","Science","English"],[78,95,88]]"Science"

Your solution

Python

Results

Python starts when you run or submit this challenge.

Back to Lesson