dimanche 7 juin 2015

How do you generate specific random number?

I need a float or integer, not exactly generated but picked randomly.

Do I need to use and import math.random class?

For example I have 3 integers : 1, 6 and 3. I want one of them to be picked randomly.




Aucun commentaire:

Enregistrer un commentaire