Consider if I had a function that took a tuple argument (x,y), where x was in the range(X), and y in the range(Y), the normal way of doing it would be:
for x in range(X):
for y in range(Y):
function(x,y)
is there a way to do
for xy in something_like_range(X,Y):
function(xy)
such that xy was a tuple (x,y)?