As a high school teacher, I really dislike the "grovel to the teacher" suggestions. This isn't a student who struggled, or messed up a test that she didn't understand, or who had worked hard and come up short. She blew off the class and now isn't happy with the possible ramifications.
If I had a student who failed my class because she couldn't be bothered to show up, I would listen to her pleas and then say no. It takes TIME and ENERGY to grade extra work or make up new assignments for a kid to do to make up a low grade. I do this all the time for kids who are making an effort. I don't have the time or energy (literally folks - this isn't an easy job) to redo an entire quarter for someone who couldn't be bothered to come to my class and do the minimum. That some folks here think that a teacher should go above and beyond for such a student is astounding to me.
To the student - Find out how you can make up this credit, either through your school system or a private school or whatever. Then do it. Good luck.