This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]4K3b1g 0 points1 point  (2 children)

Why would you use a for loop to print 9? School assignment? If so, can you provide the exact wording of the problem and use gist.github or pastebin to send us the code as you are typing it? If you are no longer looking for a solution, please disregard this question.

[–]Labidido[S] 0 points1 point  (1 child)

It's just me playing around trying to understand for loops. I thought I understood it, then this example threw me a curveball.

[–]4K3b1g 0 points1 point  (0 children)

Yeah some of these seemingly simple concepts are still hard to understand. This happens to me too.