I'm looking to create random numbers since due to circumstances I cannot use the random library. Basically I'd like to be able to replicate the random.randint() and random.random() methods using pure python.
I don't expect anyone to dump an entire code in python (though that would be great), but can someone refer me to a similar C/C++/Java algorithm that can be easily replicated into python?
Aucun commentaire:
Enregistrer un commentaire