
# coding: utf-8

# In[ ]:


import itertools

def flatten(tokens):
    tokens2 = [([x] if isinstance(x,str) else x) for x in tokens]
    flattened = list(itertools.chain(*tokens2))
    return flattened


b3459d05c4eb60c954f2ffe8b7909e216473d79e
<mask token>

<mask token>


def flatten(tokens):
    tokens2 = [([x] if isinstance(x, str) else x) for x in tokens]
    flattened = list(itertools.chain(*tokens2))
    return flattened

import itertools


def flatten(tokens):
    tokens2 = [([x] if isinstance(x, str) else x) for x in tokens]
    flattened = list(itertools.chain(*tokens2))
    return flattened


# coding: utf-8

# In[ ]:


import itertools

def flatten(tokens):
    tokens2 = [([x] if isinstance(x,str) else x) for x in tokens]
    flattened = list(itertools.chain(*tokens2))
    return flattened

