python print random string f format code example
Example: python generate random string
''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(N))
''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(N))