Advertisement
Sa1nt_Veronika

Untitled

Oct 22nd, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. def filter_not_longer_than(data, length_threshold):
  2. # < напишите код здесь >
  3. result = []
  4. for row in data:
  5. length = row[3]
  6. if length <= length_threshold:
  7. result.append(row)
  8. return result
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement