0
1358
If you want to generate an unique ID upper case letters and digits like below examples , you can use following code
- FZVK4DFVXW
- 9KKVLBI14O
- F09KHRT3EW
import string
import random
N = 10 # no of digits
my_id = ''.join(random.choices(string.ascii_uppercase + string.digits, k=N))
print(my_id)
Comment here