Write by_letter(names) returning a dict from each first letter (upper-case) to the names starting with it, in the original order.
by_letter(['Asha', 'Ravi', 'arjun'])
→ {'A': ['Asha', 'arjun'], 'R': ['Ravi']}by_letter([])
→ {}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.