Scott Eilerman <scott.j.eiler...@gmail.com> added the comment: Sorry, there's a typo in that example. It should look like:
random.seed(fixed_seed) random.sample(choices, n)[-1] Then, later, I want the next draw, so I did: random.seed(fixed_seed) random.sample(choices, n+1)[-1] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33114> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com