title: TypeError: unsupported operand type(s) for %: 'range' and 'int'
body: <p>Write a Python program to find numbers between 120 and 200 which are divisible by 7 and multiples of 5 without using a "for loop".</p>
  
  <p>I tried to work it out this way...</p>
  
  <pre><code>x = range(120, 200)
  if x % 7 == 0 and x % 5 == 0:
      print(x)
  </code></pre>
  
  <p>But rather I do get this error. What could I be missing out?</p>
  
  <pre><code>Traceback (most recent call last):
  File "C:\Users\User\Desktop\skillshare-code\if else statements\4.py", line 
      11, in &lt;module&gt;
  if x % 7 == 0 and x % 5 == 0:
  TypeError: unsupported operand type(s) for %: 'range' and 'int'
  </code></pre>