Yes, that's correct. If it helps, here's a while loop that would give exactly the same result as my for loop:
i = 3
while (i < candidate/2):
remaindercheck = remaindercheck * candidate%i
i = i + 1
Let me know if you have any other questions or want me to explain something in a different way. It's so hard to explain math when we can't talk face to face >.<
no subject
Yes, that's correct. If it helps, here's a while loop that would give exactly the same result as my for loop:
Let me know if you have any other questions or want me to explain something in a different way. It's so hard to explain math when we can't talk face to face >.<