Answer:
Dear whatever your teachers name is,
i will not be attending school tommorrow becasue i have a doctors appointment, I understand if you dont believe me but if it comes to this you can call my mom to confirm this. I also have a doctors notes prior to the appointment.
the main reason Im writting this letter to ask you if I can have tommorrows or this weeks homework, thanks!
sincerly, whatever your name is