def random_state_data_python(n, random_state=None):
 if (not isinstance(random_state, Random)):
  random_state = Random(random_state)
 maxuint32 = (1 << 32)
 return [tuple((random_state.randint(0, maxuint32) for i in range(624))) for i in range(n)]

def random_state_data_python ( n , random_state = None ) : if ( not isinstance ( random_state , Random ) ) : random_state = Random ( random_state ) maxuint32 = ( 1 << 32 ) return [ tuple ( ( random_state . randint ( 0 , maxuint32 ) for i in range ( 624 ) ) ) for i in range ( n ) ]
return a list of tuples that can initialize random .