A new function in Utils.py called random_choices, essentially a watered-down version of random.choices
Replacement of all references to random.choices with random_choices
I would appreciate any feedback. I don't know whether compatibility with older versions of Python 3 is even a priority of the project. I've tested the changes to work with 3.5 without issues. Also, I wasn't sure whether Utils.py is intended to host this kind of thing, that's just where I happened to stick it.
This is my first pull request, so go easy on me. :p
Proposing a possible patch in response to #45.
Changes:
Utils.py
calledrandom_choices
, essentially a watered-down version ofrandom.choices
random.choices
withrandom_choices
I would appreciate any feedback. I don't know whether compatibility with older versions of Python 3 is even a priority of the project. I've tested the changes to work with 3.5 without issues. Also, I wasn't sure whether
Utils.py
is intended to host this kind of thing, that's just where I happened to stick it.This is my first pull request, so go easy on me. :p