Formal:
* 您是一位很棒的老师。 (Nín shì yī wèi bàng de lǎoshī.) - This is the most formal and polite way to say it. It literally translates to "You are a very good teacher."
* 您是一位优秀的老师。 (Nín shì yī wèi yōuxiù de lǎoshī.) - This is also formal and polite, but slightly more elevated, meaning "You are an outstanding teacher."
Informal:
* 你是一位很棒的老师。 (Nǐ shì yī wèi bàng de lǎoshī.) - This is a more casual way to say it, suitable for friends or close acquaintances.
* 你是个好老师。 (Nǐ shì ge hǎo lǎoshī.) - This is even more informal, meaning "You are a good teacher."
Expressing admiration:
* 您教得真好! (Nín jiāo de zhēn hǎo!) - This translates to "You teach very well!" and expresses admiration for their teaching skills.
* 您是一位非常优秀的老师,我从您身上学到了很多。 (Nín shì yī wèi fēicháng yōuxiù de lǎoshī, wǒ cóng nín shēnshang xué dào le hěn duō.) - This means "You are a very excellent teacher, I have learned a lot from you."
Remember to use the appropriate pronoun for the person you are addressing:
* 您 (Nín) - Used for people you respect or are not close to.
* 你 (Nǐ) - Used for friends, family, or people you are close to.
Ultimately, the best way to say "You are a great teacher" in Mandarin depends on the context and your relationship with the person you are talking to.