Do splitting and then reversing and then joining.
' '.join(string.split()[::-1])
0
solved How to reverse a string in python [duplicate]
Do splitting and then reversing and then joining.
' '.join(string.split()[::-1])
0
solved How to reverse a string in python [duplicate]