Skip to content

Instantly share code, notes, and snippets.

@qharlie
Created February 2, 2018 14:57
Show Gist options
  • Save qharlie/b03a4a892c67a256657b96e16ca75238 to your computer and use it in GitHub Desktop.
Save qharlie/b03a4a892c67a256657b96e16ca75238 to your computer and use it in GitHub Desktop.
l = [[1,2],[3,4]]
[x for y in l for x in y ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment