Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
With comments solution in Clear category for Right to Left by greenit
def left_join(phrases):
"""
Join strings and replace "right" to "left"
"""
# TBH i reworked my solution after reviewing some...
# Steps made with this one line:
# 1.) merge the elements of the tuple into one string, separated by comma
# 2.) replace every occurance of "right" with "left"
return ','.join(phrases).replace("right", "left");
Dec. 9, 2014