Need help figuring out code logistics, its probably a really simple solution that just doesn't come to mind, how can I loop over the same conditions but execute different functions, without repeating the code? It feels redundant to write
for this:
for that:
do this
for this
for that
do that
Note that "this" needs to complete the loop before "that"