How would i generate a random number in python without duplicating numbers
I was wondering how to generate a random 4 digit number that has no duplicates in python 3.6 I could generate 0000-9999 but that would give me a number with a duplicate like 3445, Anyone have any ideas thanks in advance
Aucun commentaire:
Enregistrer un commentaire