Skip to content

Instantly share code, notes, and snippets.

@saevarb
Created September 22, 2014 18:08
Show Gist options
  • Save saevarb/fea245e08bf82abe4bae to your computer and use it in GitHub Desktop.
Save saevarb/fea245e08bf82abe4bae to your computer and use it in GitHub Desktop.
foo = ["foo", "FOO", "foO"]
foo = map(lambda s: s.lower(), foo)
s = set(foo)
for e in s:
print e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment