def dmp_copy(f, u):
 if (not u):
  return list(f)
 v = (u - 1)
 return [dmp_copy(c, v) for c in f]

def dmp_copy ( f , u ) : if ( not u ) : return list ( f ) v = ( u - 1 ) return [ dmp_copy ( c , v ) for c in f ]
create a new copy of a polynomial f in k[x] .