mercredi 4 novembre 2020

How to generate random integer pairs between 0 and 31?

As the title illustrated, I want to generate 100 pairs of random integers, such as (1, 0), (1, 31), (5, 7), (3, 19) and so on. And the range of value is from 0 to 31. So How can I achieve it in Python?




Aucun commentaire:

Enregistrer un commentaire