f) magnets have two poles (north and south) and like poles repel each other while unlike poles attract each other.
(magnets; have; two poles) (poles; repel; each other; T:while unlike poles attract each other)
magnets poles
have repel
two poles
each other T:while unlike poles attract each other