Last active
December 14, 2018 03:00
-
-
Save kzinmr/37f5d162d2a13ce7ff853c52a0e60b0b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
from itertools import chain | |
def flatten(l): | |
return list(chain.from_iterable(l)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment