Put all cards in sheets

This commit is contained in:
henriquenakashima 2023-06-29 14:25:24 -04:00
parent a962453058
commit 5003c625ba
2 changed files with 34 additions and 27 deletions

6
util.py Normal file
View file

@ -0,0 +1,6 @@
import itertools
def batched(iterable, n):
it = iter(iterable)
while batch := tuple(itertools.islice(it, n)):
yield batch