I want to generate random natural number without any upper bound.
For example I can generate random natural number using random.randint(1, 1000) but I don't want to specify the upper bound. How can I achieve that?
random.randint(1, 1000)
Aucun commentaire:
Enregistrer un commentaire