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