# using split operater------------------------------>
s="i love programming"
lst=s.split() #by default split operater take " " for spliting ,its covert in list
print(' '.join(lst[::-1])) #lst[::-1] use to print reverse of string join use to print as string

