in reply to NEWBIE Brain Teaser
The code outputs the following five lines:
0 0 0 0 0 [download]
1 2 3 4 5 [download]