title: How to print numbers divisble by two in a for loop
body: <p>I used a for loop to print the numbers between 0 and 100 that are multiples of three. Now I have to print the ones that are divisible by two and I cant seem to get it to work properly.</p>
  
  <p>I need to show both and I did that below, but is there a way to incorporate the second for loop into the first one in order to print both without printing the divisible ones in the same loop as the multiples of three. </p>
  
  <p>Code:</p>
  
  <pre><code>for x in range(0,100,3):
      print(x)
  for  n in range(0,100,3):
      if n % 2 == 0:
          print(n)
  </code></pre>