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 undead2k
def left_join(phrases: tuple) -> str:
"""
Join strings and replace "right" to "left"
"""
return ','.join(phrases).replace("right", "left")
#Or the same as above but as a lambda;
#left_join = lambda p: ','.join(p).replace("right", "left")
May 15, 2020
Comments: