Answer:
# the solution function is defined
# it takes a list as parameter
def solution(string_list):
# an empty new list is initialized
new_list = []
# a loop that loop through the splitted_list
# it checks if the length of each string is less than 20
# if it is less than 20
# it is attached to the new list
for each_string in string_list:
if(len(each_string) < 20):
new_list.append(each_string)
# the new list is printed
print(new_list)
# the function is called with a sample list
solution(["The", "player", "determined", "never", "compromised"])
Explanation:
The program is written in Python and it is well commented.