code: def get_all_compound_origins(chebi_ids):
      '''Returns all compound origins'''
      all_compound_origins = [get_compound_origins(chebi_id)
                              for chebi_id in chebi_ids]
      return [x for sublist in all_compound_origins for x in sublistf get_all_compound_origins(chebi_ids):
      '''Returns all compound origins'''
      all_compound_origins = [get_compound_origins(chebi_id)
                              for chebi_id in chebi_ids]
      return [x for sublist in all_compound_origins for x in sublist]
docs: Returns all compound origins