graded randomness

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Fri Dec 28 08:31:32 EST 2018


@Tim

do you have something like

choice(balls)

>>> red

and subsequent repetitions for long enough yield approximately 2/5 times r
2/5 times g and 1/5 b

like one without random choice over list/tuples

Abdur-Rahmaan Janhangeer
http://www.pythonmembers.club | https://github.com/Abdur-rahmaanJ
Mauritius



More information about the Python-list mailing list