Order the answer to: Write a function called create_surnames_dictionary(names) which takes a list of strings as a…

Paper help python programming Order the answer to: Write a function called create_surnames_dictionary(names) which takes a list of strings as a…

python programming

Order the answer to: Write a function called create_surnames_dictionary(names) which takes a list of strings as a…

Question 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:
Subject python programming
Ready to try a high quality writing service? Get a discount here