Dear respected teacher/professor,

I am writing to express my sincere gratitude and appreciation for the time and effort that you have invested in my studies. With the academic year drawing to a close, I wanted to take a moment to convey how grateful I am for the support and guidance you have offered throughout the year.
Your passion for the subject you teach has motivated me to strive for excellence and has opened up a world of knowledge and possibilities that I did not know existed. Your hard work and dedication have undoubtedly contributed to the educational experiences of countless students, and I consider myself fortunate to have been one of your students.
I am grateful for the time you have taken to teach us important life lessons that extend beyond the classroom. You have shown us how to be independent, confident and hard-working individuals who strive for success in everything we do. Your mentorship has prepared us to face life's challenges with resilience and determination.
As I move forward in my academic and professional journey, I will cherish the valuable lessons that you have taught me. I will continue to strive for excellence and keep your wise words of encouragement close to my heart.
Once again, thank you for your unwavering dedication and hard work throughout the year. You have played a crucial role in shaping my academic and personal growth, and for that, I am truly grateful. May you continue to inspire and educate students for many years to come.
Sincerely,
[Your Name]