def dup_quo_ground(f, c, K):
 if (not c):
  raise ZeroDivisionError('polynomial division')
 if (not f):
  return f
 if K.has_Field:
  return [K.quo(cf, c) for cf in f]
 else:
  return [(cf // c) for cf in f]

def dup_quo_ground ( f , c , K ) : if ( not c ) : raise ZeroDivisionError ( 'polynomial division' ) if ( not f ) : return f if K . has_Field : return [ K . quo ( cf , c ) for cf in f ] else : return [ ( cf // c ) for cf in f ]
quotient by a constant in k[x] .