text: Python3 program to reverse a string s = input ( )
code: s = " i ▁ like ▁ this ▁ program ▁ very ▁ much " NEW_LINE words = s . split ( ' ▁ ' ) NEW_LINE string = [ ] NEW_LINE for word in words : NEW_LINE INDENT string . insert ( 0 , word ) NEW_LINE DEDENT print ( " Reversed ▁ String : " ) NEW_LINE print ( " ▁ " . join ( string ) ) NEW_LINE