I just want to know what should be that method is. And it doesn't need to be exactly in the tuple wrapped in Option. I just want to be like in that matrix pattern. That's enough for me. please help me out here
No, I don't want like zip function. I want like this
for range 1..=3 and 1..=3
I should get
1,1
1,2
1,3
2,1
2,2
2,3
3,1
3,2
3,3
but, anyway, thanks for the swift reply