Assigning Random Numbers to Variables Without Duplicates in Python
I am new to Python and need help regarding assigning numbers to variables. How would I assign a random number from 0 to 9 to the variables "a" through "j" so that each variable gets a random number with no duplicates? Thanks in advance!
Aucun commentaire:
Enregistrer un commentaire