Write lengths(words) that returns the length of each word using map and a lambda.
lengths(['sql', 'python']) → [3, 6]
lengths([]) → []
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.