def to_internal_ballot(ballot):
    # There is no terminal 0 like in the BLT format.
    weight, choices = ballot
    return join_values([weight] + list(choices))
Return the ballot as an internal ballot string.
dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/formats/internal.py/to_internal_ballot