#NEWLINE# def random_string( length , seed ) : #NEWLINE# #INDENT# random . seed ( seed ) #NEWLINE# return '' . join ( ( random . choice ( ( string . ascii_uppercase + string . digits ) ) for x in range ( length ) ) )