Advertisement
LtStaffel

Untitled

Apr 9th, 2021
992
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. input_table = [...]
  2. output_table = []
  3. group = []
  4. for row in input_table:
  5.   group.append(row)
  6.  
  7.   if row.criteria == True:
  8.     output_table.append(group)
  9.     group = []
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement