def fix_capitalization(the_list): '''fix_capitalization(list) -> list/boolean Given a list of strings returns a new list of strings in which the capitalization of the original strings has been corrected. Returns False if the parameter given is not a list.''' if ( type(the_list) != list ): return False new_list = [] for string in the_list: new_list.append(string[0] + string[1:].lower()) return new_list