Models are usually fed data a batch at a time rather than all at once.
Task: write a generator function batches(items, size) that hands out lists of size items, in order.
batches(items, size)
size
items
1def batches(items, size):2 # your code here3 pass4