lx2607711574 @ 2022-12-24 00:52:53
n=input() li=list(n) pos=1 count=0 for i in li[0:12]: if i!="-": count+=int(i)*pos pos+=1 re=count%11 if re==10: re="X" else: re=str(re) if re==li[-1]: print("Right") else: li[-1]=re for i in li: print(i,end="")
by wsd33 @ 2022-12-24 07:53:34
望丰展使MD