Created
July 25, 2015 23:01
-
-
Save wswld/e90de83dd52534a42af2 to your computer and use it in GitHub Desktop.
Unpacking List in Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
list = [[313, 135, 135], [735,468,795], [426,73468,26]] | |
print [x for l in list for x in l] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment