""" Write a function def short_long_name(my_list) that accepts one parameter - list of strings. The function creates and returns two new lists: short and long. List short will include all names from my_list that are 5 characters long or less. List long will include all names from my_list that are longer than 5 characters. Write a program that generates a list of names from user input. The length of the list is user input as well. The program will use function short_long_name to separate the input list into two lists: short names and long names. The program will output results with appropriate message. Make sure to cover the cases when one of the lists is empty. """ def short_long_name(my_list): long=[] short=[] for item in my_list: if(len(item)>5): long.append(item) else: short.append(item) return short, long def make_list_string(size): #this function creates a list of strings from user input my_list=[] for i in range(size): new_str = input("enter string ") my_list.append(new_str) return my_list def main(): size=int(input("size ")) list=make_list_string(size) short, long=short_long_name(list) print(short, long) main()