Every student has their best teacher in mind, which is referred as memorable teacher. Students gain more knowledge from some teachers than others, let it be a female or male teachers. There should be no difference in between female and male teacher. Both these teachers have the sufficient knowledge, interest to make every student the No.1 student of the school/college. It is only the student who needs to be attentive and to gain more from respective teachers. A student will always suffer when he don't pay much attention while teachers are teaching important lesson. Hence teachers (Male or Female) should not be blamed for any reason, as they give full attention to their students in order to be successful student of the school/college.
Any teachers possess three important qualities such as knowledge, ability to convey to every student about the subject, and also ability to make the subject very interesting and relevant to every student. Hence, students need to learn to give more priority to the teachers and respect them in all means. As we don't differentiate between our parents, the same way we shouldn't make any difference between male and female, as each of them has they teaching qualities and they put their best way to perform it in the classroom in order to give more information and knowledge about the subject matter.
As you have raised the question for difference in male and female, I would not insist on giving them, but still some points I would like to mention.
Many students have experience having guided by a Male or a Female teacher. It is rightly said that more than 65% of students have been guided by Female teacher for pre-school and elementary school children rather than Male teachers. There are only 40% of students which are guided by Male teachers for high school and college levels.
It has been observed that male students learn better with male teachers rather than female teachers as they feel different and many other reasons. Further, a female student learns better with female teachers rather than male teachers.
Last but not the least, as both male and female teachers have different approach to train students, it is advised that students need to learn fast and pay attention to get the information and also do well in examination rather than having different view on male and female teachers.
All male and female teachers are the best, and they give more fruitful knowledge and training without any differences between students to students. In their view, all students are same hence equal teaching is being given by them.