Week 1 Homework for Salim

you can do the "simpler":
if not row_count % (size / boxes):

(zero evaluates at False)