def getAccessionNumber(organism_list:list):
    """
    | Get accession number of all organisms in a list.

    :param organism_list: list of organisms

    :type organism_list: list

    :return: list of organism
    :rtype: list
    """
    accessions_number_list = []
    for organism in organism_list:
        accessions_number_list.append(organism.acc_number)
    
    return accessions_number_list