NOT A TEACHER
"Differentiate" could be used instead of "discriminate".
From the Longman Dictionary of Contemporary English:
di‧scrim‧i‧nate AC / dɪˈskrɪməneɪt, dɪˈskrɪmɪneɪt / verb
1 [ intransitive ] to treat a person or group differently from another in an unfair way discriminate against Under federal law, it is illegal to discriminate against minorities and women.
discriminate on the grounds/basis of something It was found that the company still discriminated on the basis of race in promotions.
2 [ intransitive and transitive ] to recognize a difference between things SYN differentiate discriminate between Newborn babies can discriminate between a manís and a womanís voice.
discriminate something from something the process of learning to discriminate fact from opinion
Student or Learner