teacher said,"there is no shortcut to success".
convert this ihto indirct speech
reported speech-
Teacher said that there is no shortcut to success.
Note-there will be no change in the sentence as,"There is no shortcut to success",is a universal truth.