lundi 27 mars 2017

How to expand the range of a random integer from 1-10 to 1-200

Given a function that produces random integers uniformly in range 1 to 10, how to write a function that produces random integers uniformly in range 1 to 200?




Aucun commentaire:

Enregistrer un commentaire