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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!