jeudi 4 janvier 2024

Generating a random sequence of numbers in Python using a dash [closed]

It is necessary to make a random sequence of numbers in Python through a dash, for example, 46417635-7485-8418-8754-651578178453.

Using the random module and the randint function, it was possible to generate numbers in a certain interval (str(random.randint(100, 150). How to make a sequence of numbers separated by a hyphen?




Aucun commentaire:

Enregistrer un commentaire