lundi 8 avril 2019

Why does repeated function calls generate the same random number?

I wrote a function that generates a random number using random.randint(). When I call the function several times, I get the same number every time. How can I fix this? Thanks




Aucun commentaire:

Enregistrer un commentaire