p_phrase = "was it a car or a cat I saw" p = p_phrase.split() p.reverse() print(p_phrase) r_phrase = "" for words in p: if p_phrase !=