Refusing to admit something or changing mind isn't lying.
Refusing to admit the truth or changing stories is lying.
In this case, this gal missed 7 classes. The truth is that she was failing because she missed 7 classes. The lie is that her teacher hates her.