Why, using "and" in a for loop and "or" in a while loop gives the same result?
Why, using "and" in a for loop and "or" in a while loop gives the same result? Question: I am trying to practice writing these loops, and I had an exercise which asked me to print numbers from 0 to 20 that aren’t divisible by 3 or 5. For the while loop, I wrote this …
Total answers: 4