Create a list of words from the text below that are shorter than or equal to the input value. Print the new list.
Word list
Report a typo
Sample Input 1:
1Sample 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"]]
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.