Write a function called create_surnames_dictionary(names) which takes a list of strings as a…

Write a function called create_surnames_dictionary(names) which takes a list of strings as a parameter and returns a dictionary with keys which are a single letter and the corresponding values which are lists of full names. The list of full names corresponding to a key contains all the full names from the list where the first letter of the surname is the key value. The corresponding lists of full names should be in sorted alphabetical order. Note: you can assume that the list is not empty and that each full name contains a first name followed by a surname. For example:

Attachments:

"Is this question part of your assignment? We can help"

ORDER NOW