• left_join

 

I would like to give some feedback about ...

From: https://py.checkio.org/mission/right-to-left/solve/

HTTP_USER_AGENT: i don't understand the error: Your result:"\"left,left,left,stop\"" Right result:"left,left,left,stop" Fail:left_join(["left","right","left","stop"]) because when i try in Python IDLE i have the good result

def left_join(phrases: tuple) -> str:

b=str(phrases)
c=b.replace('right','left')
d= str(c).replace("(",'"').replace(")",'"'). replace("'",'').replace(', ',',')
return d

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.129 Safari/537.36