Question: Write the function listBuilder(l1, length) that takes a list of strings called l1 and an int called length and returns another list that contains all
Write the function listBuilder(l1, length) that takes a list of strings called l1 and an int called length and returns another list that contains all the strings in l1 that have a length of at least length.
Example:
Input Output
l1 = [Hello, I, am, a, list] length = 4 [Hello, list]
l1 = [Homework, is, fun] length = 8 [Homework]
l1 = [CS103, is, the, best} length = 8 []
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
