I am wondering how to make a code in python 3.4.3 that can generate two 3 character long strings. One Digits 0 - 9, and the other capital letters of the alphabet. There also has to be a dash between them.
Examples:
MUS-875
KLE-443
AMI-989
Ect.
This is what I have
from random import randint
print(randint(2,9))
Thank you!
Aucun commentaire:
Enregistrer un commentaire