jeudi 26 décembre 2019

how to generate random numbers in integer range in python

How can i generate random numbers in range of integer or float in python? Something like this code:

random.randrange(int)

I don't like enter number directly like the below code:

random.randrange(32768)



Aucun commentaire:

Enregistrer un commentaire