Word list

Report a typo

Create a list of words from the text below that are shorter than or equal to the input value. Print the new list.

Sample Input 1:

1

Sample Output 1:

['a', 'a']
Write a program in Python 3
text = [["Glitch", "is", "a", "minor", "problem", "that", "causes", "a", "temporary", "setback"],
["Ephemeral", "lasts", "one", "day", "only"],
["Accolade", "is", "an", "expression", "of", "praise"]]
___

Create a free account to access the full topic