I should have tested the code.
In fact, nowhere does he state that he doesn't want to use a for loop. I think he just wanted to understand why he couldn't print outside of the for loop.
Obviously, the previous responses DID NOT HELP HIM.
You can be sure that your response to him did not help. It only resulted in his node getting downvoted.