Light Mode
Dark Mode
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

  • feedback
Created: May 2, 2020, 8:24 a.m.
Updated: May 9, 2020, 8:49 a.m.
0
9
User avatar
Doming_Doming