Skip to content

Instantly share code, notes, and snippets.

@wooosh
Created November 14, 2016 22:11
Show Gist options
  • Save wooosh/a708f3f7e4ab3b73d0a520d3ec7e8e99 to your computer and use it in GitHub Desktop.
Save wooosh/a708f3f7e4ab3b73d0a520d3ec7e8e99 to your computer and use it in GitHub Desktop.
map/listcomp
print(map(lambda x: map(lambda y: x.counts=x.count(y), x.triggers), tasks))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment