Write length_map(names) that returns a dict from each name to its length, using a dict comprehension.
length_map(['Om', 'Asha'])
→ {'Om': 2, 'Asha': 4}length_map([])
→ {}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.