• Damien George's avatar
    extmod/modurandom: Add some extra random functions. · a53af6c8
    Damien George authored
    Functions added are:
    - randint
    - randrange
    - choice
    - random
    - uniform
    
    They are enabled with configuration variable
    MICROPY_PY_URANDOM_EXTRA_FUNCS, which is disabled by default.  It is
    enabled for unix coverage build and stmhal.
    a53af6c8
modurandom.c 7.61 KB