Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Right to Left by jacekgrycza
def left_join(phrases):
s=''
text=''
for i in phrases:
text=i
k=text.find('right')
while(k!=-1):
text=text[0:k]+'left'+text[k+5:]
k=text.find('right')
s=s+text+','
s=s[0:-1]
return s
Oct. 30, 2016