I am trying to join a list of strings into one string using .join()method. However, it seems like the result is still the same where the output still producing
.join()
Add this line at the first line of your .py file:
from __future__ import print_function
Next, change these lines:
semua = ' '.join(kata) print semua
To:
semua = ''.join(kata) print(semua, end='')
You want to make sure you're not adding spaces and newlines where not needed.