title: Python trouble creating a list of all divisible numbers
body: <p>I'm just trying to create a list of all numbers possible that are divisible by the number given by the user, and I'm not quite sure how to go about doing that.. I thought <code>itertools</code> would would work, but I get the error <code>Expected Collection.Iterable, got 'int' instead</code> on line 5. Really just looking for any type of solution to this problem. Thanks in advance!</p>
  
  <pre><code>import itertools
  num = int(input('please enter a number'))
  list_range = itertools.count
  divisor_list = []
  for number in list_range:
      if num % number == 0:
          divisor_list.append(number)
  print(divisor_list)
  </code></pre>
  
  <p>also tried this without any luck:</p>
  
  <pre><code>num = int(input('please enter a number'))
  list_range = 0, 1
  divisor_list = []
  while list_range &lt; num:
      for number in list_range:
          if num % number == 0:
              divisor_list.append(number)
          list_range += 1
      print(divisor_list)
  </code></pre>