title: Function to find the factors of a negative number
body: <p>I need to write a function that will find the factors for a negative number and output them to a list. How would I do that? I can get my function to do positive numbers (see below) but not negative ones.</p>
  
  <pre><code>#Finds factors for A and C
  def factorspos(x):
      factorspos = [1,-6];
      print("The factors of",x,"are:")
      for i in range(1, x + 1):
          if x % i == 0:
              factorspos.append(i)
              print(i)
  </code></pre>
  
  <p>I tried changing the values that the loop counts from so it would count from the number chosen to 1 (Code below) but still yielded no results :(</p>
  
  <pre><code>#Finds factors for A and C
  def factorspos(x):
      factorspos = [int(-6),1];
      print("The factors of",x,"are:")
      for i in range(int(-6), x + 1):
          if x % i == 0:
              factorspos.append(i)
              print(i)
  </code></pre>
  
  <p>I have changed Cco to a fixed number.</p>
  
  <pre><code>#Finds factors for A and C
  def factorspos(x):
      Cco = -6
      factorspos = [int(Cco),1];
      print("The factors of",x,"are:")
      for i in range(int(Cco), x + 1):
          if x % i == 0:
              factorspos.append(i)
              print(i)
              return factorspos
  </code></pre>