(a.remove(i) for i in (4, 6))
は何を返す?それを理解してないだけ