Skip to content

Instantly share code, notes, and snippets.

@andreypopp
Created December 13, 2010 12:51
Show Gist options
  • 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