def format_attributes(attributes):
    """
    Takes an attribute dict and converts it to string

    :param attributes: dict with attributes
    :return: string with attributes in GFF3 format
    """
    return ';'.join([k + '=' + v for k, v in attributes.items()])