This is the code that i am trying to perform: ''.join(the_words).
seems not working. Any solutions?
- Code: Select all
# Reversing the string
size = len(the_words)
for i in range(0,size/2):
the_words[i],the_words[size-1-i]=the_words[size-1-i],the_words[i] #algorithms to to swap the words.