s = 'i like you, but just i like you'def func(s): ret = s.split(' ') ss = ret[::-1] for i in ss: print(i,end=' ')x = func(s)print(x)