dimanche 25 mars 2018

Generate a random int in Python without any limits

I'm looking for a function that would give me a random number without having to specify an upper limit. I've looking at the random function for Python, and I can't find one that seems to suit me. I suppose that I could set my upper limit to something ridiculously large, but I wanted to know if there was a way that I don't have to do that.




Aucun commentaire:

Enregistrer un commentaire