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 Bartlomiej_Szal
def examineAndReplace(word):
if word.find('right') != -1:
return word.replace('right','left')
else:
return word
def left_join(phrases):
outcome = ""
for i in range(len(phrases)):
if i != 0:
outcome += ','
outcome += examineAndReplace(phrases[i])
return outcome
Oct. 9, 2016
Comments: