Test 1: Wed, Feb 12

Part 1

Part 2:

Write a function

def short_long_name(my_list)

that accepts one parameter - list of strings. The function creates amd 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.