Skip to content

Instantly share code, notes, and snippets.

@heynemann
Created May 15, 2009 02:57
Show Gist options
  • Save heynemann/112032 to your computer and use it in GitHub Desktop.
Save heynemann/112032 to your computer and use it in GitHub Desktop.
Sample code for before Pynq
collection = some_method_return()
filtered = []
for item in collection:
if item.property + item.another > 10:
filtered.append(item)
return filtered.sort()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment