Juanita used her affinity for numbers in STEM class to help her design a computer program that relied on math formulas. Other students who disliked math seemed to struggle with the task.
What is the meaning of "affinity” in this context?
an enjoyment of
a likeness or similarity
a close resemblance to
an understanding of