Quote:
Does modulus while loop have a different outcome when in while loop?
This question makes no sense to me.
Quote:
Why is the answer 36 and not 6?
The answer is 36 because the code is the code.
6 only makes sense if the question is about the effect of the "while loop" in this code.