Skip to content

Instantly share code, notes, and snippets.

@jessy1092
Created June 14, 2015 04:37
Show Gist options
  • Select an option

  • Save jessy1092/95f929b93711b7245627 to your computer and use it in GitHub Desktop.

Select an option

Save jessy1092/95f929b93711b7245627 to your computer and use it in GitHub Desktop.
lts = [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
tmp_list = []
for lt in lts:
for ele in lt:
tmp_list.append(ele)
print(tmp_list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment