如何将第二个单词移到第一个单词之前?

How do I move the second word BEFORE the first?

如果我的变量是:

string = "first second"

如何将其更改为打印:

second first

非常简单,但我找不到解决方案!

我会在 ' ' 上拆分字符串,然后将其连接回去:

s = 'first second'
tmp = s.split(' ')
result = ' '.join((tmp[1], tmp[0]))