Reverse word order. Example: "hello world python" => "python world hello"
Implement this function:
def reverse_words(s: str) -> str:
Write the function only — the arguments are read for you and the return value is printed automatically.
Arguments arrive as one Python literal per line, in this order: s.
Input
'hello world python'
Output
'python world hello'