Skip to content

Instantly share code, notes, and snippets.

@gamame
Created March 15, 2013 02:31
Show Gist options
  • Save gamame/5167073 to your computer and use it in GitHub Desktop.
Save gamame/5167073 to your computer and use it in GitHub Desktop.
pythonでFlatten
from itertools import chain
list(chain.from_iterable(l))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment