Just remove the print statement inside the for loop, and you will no longer get this "pyramid". I think this print statement was put there just to show you how the array get progressively populated.
In reply to Re^3: accessing variable vaule outside for loop
by Laurent_R
in thread accessing variable vaule outside for loop
by gaurav
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |