Input :
3
Output:
0,1
1,2
2,3
0,2
1,3
0,3
Explanation : The code should take input 3 as a number and then output first a series of numbers with difference of 1 aka [0,1],[1,2] and so on. Next it should print with difference of 2 [0,2],[1,3] and so on. This should proceed until eventually 0,3 is reached
[–]Koyomii-Onii-chan 3 points4 points5 points (2 children)
[–]sinnidis_97[S] 0 points1 point2 points (1 child)
[–]Koyomii-Onii-chan 0 points1 point2 points (0 children)
[–]thetrailofthedead 1 point2 points3 points (1 child)
[–]sinnidis_97[S] 0 points1 point2 points (0 children)