Def jys(s):
d={"1":"0","0":"1"}
ns=""; p=s[0]; i=2
while i<n:
num=0
while :
num=num*10+int(s[i])
i+=1
for j in range(num):
p=d[p]
return ns
微信扫码预览、分享更方便