Skip to content

Instantly share code, notes, and snippets.

@reeddunkle
reeddunkle / Exercise5.py
Last active May 2, 2016 18:56
Custom Filter Method
def my_filter(function, iterable):
output = []
for item in iterable:
if function(item):
output.append(item)
return output

Keybase proof

I hereby claim:

  • I am reeddunkle on github.
  • I am reeddunkle (https://keybase.io/reeddunkle) on keybase.
  • I have a public key ASCm2gw-AtqWXibjXoD53MAUkYJSEBVVE6526_lKxxUPgQo

To claim this, I am signing this object: