I have a simple game made in python using pygame module, but I need a function that gives me a random number from a range
For example, I have this range = [10, 20, 30], and I have a result for every number but I do not want a specific order
Which module or function I should use?
Aucun commentaire:
Enregistrer un commentaire