title: Python Modulo Complex numbers
body: <pre><code>def print_numbers_modulo(List,Operator,ModuloNumber):
      CheckIfPrintedNumber=False
      for i in range(0,len(List)):
          if (abs(List[i]),Operator,ModuloNumber):
              print(List[i])
      if (CheckIfPrintedNumber == False):
          print("There are no numbers having modulo",Operator,ModuloNumber)
  </code></pre>
  
  <p>This is my funcion and I call it like this:</p>
  
  <pre><code> print_numbers_modulo(List,'&lt;',10)
  </code></pre>
  
  <p>an the list is defined as: </p>
  
  <pre><code> List=([1+3j,12j,-1j,12+3j,13,12j,12-3j,-45j,-45-5j,0,-323j,-2+3j])
  </code></pre>
  
  <p>why does it print all the numbers not only the one having modulo &lt;10</p>