Write longest(names) that returns the longest name in a non-empty list (the first one if tied).
longest(['Om', 'Anita', 'Ravi']) → 'Anita'
longest(['ab', 'cd']) → 'ab'
Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.