def master_yoda(text): for x in text: a=text.split() b=" ".join(a[::-1]) return b #This is my answer as a beginner w/o using built in functions