I am sorry that i did not pay attention in class.I did not listen attentively to the teacher.I was playing with my pen.I know that i am wrong and i promise that i will not commit the same mistake again.I will be a good student from now on and listen attentively in class.
不知道是不是你要的,不过我以尽力帮你写了,