Run
random.choice(string.ascii_uppercase + string.digits) for _ in range(N)
Output