Is there a built-in function to help hide independent nested for loops?
Since they do not depend on one another to generate the next item a function could take in iterables as arguments and yield the appropriate number of items.
From:
for i in range(x):
for j in range(y):
for z in range(z):
do_something()
to:
for i, j, k in iterate_over(range(x), range(y), range(z)):
do_something()