<s> '''<STR_LIT>''' <EOL> from time import time <EOL> def main ( ) : <EOL> if PYTHON == '<STR_LIT>' : <EOL> pythonjs . configure ( direct_operator = '<STR_LIT:+>' ) <EOL> pythonjs . configure ( direct_keys = True ) <EOL> pass <EOL> a = list ( range ( <NUM_LIT:1000> ) ) <EOL> times = [ ] <EOL> for i in range ( <NUM_LIT:4> ) : <EOL> t0 = time ( ) <EOL> res = copy_list ( a , <NUM_LIT> ) <EOL> tk = time ( ) <EOL> times . append ( tk - t0 ) <EOL> avg = sum ( times ) / len ( times ) <EOL> print ( avg ) <EOL> def copy_list ( a , n ) : <EOL> x = [ ] <EOL> for i in range ( n ) : <EOL> b = a [ : ] <EOL> for j in range ( <NUM_LIT:10> ) : <EOL> b . append ( j ) <EOL> x . append ( b ) <EOL> return x </s>
