lundi 23 mai 2022

Python random random function providing correct output for an integer with specific length as 3 [duplicate]

Sometimes when I try to run the below line in my code, it is provides a 2 digit integer. Any changes that I need to make in the below line for it show me the correct length integers all the time.

random_int = random.randrange(0,999,3)




Aucun commentaire:

Enregistrer un commentaire