Write shortest(words) that returns the shortest word using min with a lambda key (the first one if tied). The list is not empty.
shortest(['python', 'sql', 'excel']) → 'sql'
shortest(['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.