""" list_to_string(n): - Input: a list of characters list1. - Output: a string of those characters - Error handling: returns None if list1 is not a list, or if any element of the list is not a character A character is defined to be a string of length 1. """ def list_to_string(list1): if not(type(list1) is list): return None result = "" for i in list1: if not(type(i) is str): return None if not(len(i) == 1): return None result = result + i; return result