Another way to say "memorising is for pleasing a teacher" is "a student memorises things to please a teacher"