title: Code to check it credits cause range error?
body: <p>This is my code: </p>
  
  <pre><code>print("counting in twenties") 
  for i in range (0,120,20):
      print(i)
  if i != (0,120,20):
      print(“range error”)    
  </code></pre>
  
  <p>Can someone help me with the code as the outcome is not correct. It  gives me range error for any value I type it should only give range error if the value is not <code>20,40,60,80,100,120</code></p>