create the second half by reversing the first half .
second = first NEW_LINE second = ' ' . join ( reversed ( second ) ) NEW_LINE resultant = first + middle + second NEW_LINE print ( resultant ) NEW_LINE