A school teacher has been banned for 10 years after texting a 17-year-old boy an eggplant and peach emoji and saying: “I‘ll give you the B if you give me the D”.

US teacher Armando Alejo told the student he had only scored 53.8 per cent in his science test, but when the 17-year-old asked for extra credit the teacher‘s response was lewd and inappropriate.

“Convince me (wink emoji)”, he wrote before adding “You want the B, What about me?”.

The teacher then told the boy “I should f**k that booty” after sending an eggplant emoji and peach (which symbolises a penis and bottom).

Advertisement

The student made several attempts to change the subject, at one point even saying, “I‘ll stay with the 79,” his overall grade in the class. Eventually, the teen stopped responding, prompting a series of desperate texts from the male teacher.

The messages were sent in the 2016-2017 school year.

Alejo has since been banned from teaching for 10 years.

Armando Alejo previously received rave reviews from students for being a laid-back teacher who taught difficult concepts in a way that was easy to understand.

He has been ordered to attend a Recovery Network Program which treats teachers with drug, alcohol or mental health issues.