.
roulette online algorithm pycf