View difference between Paste ID: jV6pfMdh and zveXyd0S
SHOW: | | - or go back to the newest paste.
1-
def comb(l1, l2, l3):
1+
public IEnumerable<int[]> getMultipleRows(List<int[]> val)
2-
	for e1 in l1:
2+
        {
3-
		for e2 in l2:
3+
            foreach (int[] v in val)
4-
			for e3 in l3:
4+
            {
5-
				yield (e1, e2, e3)
5+
                foreach (int n in v)
6-
	raise StopIteration()
6+
                {
7-
7+
                    yield return new[] { n };
8-
for c in comb([0,1,2], [0,1], [0,1]):
8+
                }
9-
	print c
9+
            }
10
        }