"""Name: Prof. Xiannong Meng Course: CSCI 204 Lecture: 00 in-class coding template Based on the work by Professor Dancy """ def generate_names(): """Read user input for nick names and full names (separated by commas), store all of these names to a dictionary, and return this dictionary. Example sequence below: $python 00_dictionary_student.py >>Enter nicknames separated by commas:'bb, cc, dd' >>Enter full names separated by commas:'bob barker,chris christie, donny darko' >>bob barker or bb for short. >>chris christie or cc for short. >>donny darko or dd for short. """ # 1. read names # 2. generate dictionary # 3. return the dictionay pass def generate_dictionary(nick_names, full_names): """Generate a dictionary from the given strings of nick_names and full_names. Each name in the string is separated by a comma. Inputs: nick_names: A string of comma separated nicknames full_names: A string of comma separated full names that relate to the nicknames Output: a dictionary with the nicknames as keys and full names as values """ pass def print_names(name_list): """Take the name_list as a dictionary, print its contents. Make use of the fact that name_list is a dictionary. Inputs: name_list: a dictionary 'key' is nick name, 'value' is full name Output: print the (nick name, full name) pair on the screen. """ pass name_list = generate_names() print_names(name_list)