Extract strings from a list element of a certain size, : Say I have a list of names:

    names = ["David", "Lee", "Sara", "Daniel", "Nick"]

I want to move the list elements that have a character count of less than 5 (not including 5) into a new list called short_names that would look like this:

    short_name ["Lee", "Sara", "Nick"]

How can I do this with a for loop? Where I am struggling with is how to find the length of characters within each list element.