I have a question about the meaning of "for" in this sentence.
The two sentences were extracted from the book "WONDER"
"I have her for homeroom" "I have her for math" She started writing the list of names on the second-to-last page of her note book.
I think that "her"=she is in the same class.
What exactly does "FOR" mean in the sentence? and Could you make another example for more explanation?