有大佬分享一下py做法吗·-·
a=input() b=a.split() c=b[2] k=1 n=1 while k!=0:
d=c*n if (int(b[1])==int(d)%int(b[0])): print(n) k=0 elif n>9: print (-1) n=n+1
有大佬分享一下py做法吗·-·
a=input()
b=a.split()
c=b[2]
k=1
n=1
while k!=0: