title: Can I get a List of functions using filter in Python?
body: <p>I have a list which has the divisors of 10 like this:</p>
  
  <pre><code>print filter(lambda x: 10 % x == 0, range(1, 10))
  &gt;&gt;&gt;[1, 2, 5]
  </code></pre>
  
  <p>Then I need a List of function like that :</p>
  
  <pre><code>F =  [lambda x:k+x for k in filter(lambda x: 10 % x == 0, range(1, 10))]
  </code></pre>
  
  <p>When I call every functions in the List, it turns out to be wrong:</p>
  
  <pre><code>for f in F:
     print(f(0))
  &gt;&gt;&gt; 5
  &gt;&gt;&gt; 5
  &gt;&gt;&gt; 5
  </code></pre>
  
  <p>so How can I get the right list of function?</p>