Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@andreypopp
Created December 13, 2010 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreypopp/738956 to your computer and use it in GitHub Desktop.
Save andreypopp/738956 to your computer and use it in GitHub Desktop.
flattened_list = [y for x in nested_list for y in x]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment