AMD interview question

implement a python function that returns the second last string in a sentence