import randomidentifying_code=''for i in range(0,4): current=random.randrange(0,3) if current==i: tmp=chr(random.randint(65,90)) else: tmp=random.randint(0,9) identifying_code+=str(tmp)print(identifying_code)