You are viewing a single comment's thread. Return to all comments →
No, that won't work! As mentioned in my previous comment, value of i will be over-written by for loop in the next iteration.
Doing this will print all numbers from 3 to 102 instead. Try it yourself.
Seems like cookies are disabled on this browser, please enable them to open this website
Looping and Skipping
You are viewing a single comment's thread. Return to all comments →
No, that won't work! As mentioned in my previous comment, value of i will be over-written by for loop in the next iteration.
Doing this will print all numbers from 3 to 102 instead. Try it yourself.