def get_all_comments(chebi_ids):
    '''Returns all comments'''
    all_comments = [get_comments(chebi_id) for chebi_id in chebi_ids]
    return [x for sublist in all_comments for x in sublist]
def get_all_comments ( chebi_ids ) : all_comments = [ get_comments ( chebi_id ) for chebi_id in chebi_ids ] return [ x for sublist in all_comments for x in sublist ]
Returns all comments