Path of least resistance

The easiest (but not always the best) way to do something.

I took the path of least resistance and quit the class rather than try to pass the course.