Step-by-step explanation:
Since the comb has a net charge, it attracts the paper, which has a net charge equal to zero. When the paper touches the comb, an electrical interaction is established between the charge of the comb and the neutral paper, because of this, the paper now has a net charge with the same sign of the comb and they repel.