Reverse the words in a string
stryng = 'This is my only line'
reverse_stryng = ' '.join(stryng.split()[::-1]) reverse_stryng
'line only my is This'