Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def filter_not_longer_than(data, length_threshold):
- # < напишите код здесь >
- result = []
- for row in data:
- length = row[3]
- if length <= length_threshold:
- result.append(row)
- return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement