title: creating own myfilter in python
body: <p>Your job is to write your own version of filter called myFilter. Remember, your implementation may use recursion, indexing and slicing, and concatenation but no built-in python functions.</p>
  <pre><code>def myFilter(f, L):
      if not L:
          return []
      return [f(L[0])] + myFilter(f, L[1:])
  </code></pre>