def choose(self, choices):
        # random.sample() returns a k-length list.
        return sample(choices, 1)[0]
Choose a single element of choices at random.
dataset/ETHPy150Open cjerdonek/open-rcv/openrcv/contestgen.py/BallotGenerator.choose