#173. 按长度筛选字符串
按长度筛选字符串
Filter Short Strings
Background
In daily text processing, we often need to filter strings based on specific conditions. For example, sometimes we are only interested in short, concise words.
Problem Description
Given a list of strings, return a new list containing only those strings with a length strictly less than .
Input Format
Input is given from Standard Input in the following format.
The input consists of a single line, representing a list of strings. Strings are separated by spaces and enclosed in double quotes.
Output Format
Output should be printed to Standard Output in the following format.
Output a list of strings containing all strings with a length strictly less than . The output format is similar to the input, with strings separated by commas and spaces, enclosed in square brackets.
Sample
"this" "not" "too" "long"
["not\