刚开始学Python布置的任务,但想了半天没有想出来,哪位铁子能帮我解一下😅
我的笨方法,或许可以这样写for i in len (s)-1: s[i] += ','print (s)
这不是join函数一句话的事吗?
print(",".join(input()))