编辑以下句子，使其更加简洁。
One of the primary reasons why I didn't attend the party last night was due to the fact that I had an exam to study for.
I didn't attend the party last night because I had an exam to study for.