#declare two set the range
1.i = 1
2.j = 5
#use while loop for i
3.while i < 4:
#use while loop for j
4.while j < 8:
5.print(i, ",", j)
6.j = j + 1
7.i = i + 1
Output:
1 , 5
2 , 6
3 , 7
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter