def iter_all_strings_without_triplicates(size, last_two_digits = (None, None, None, None, None, None, None, None, None ,None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None ,None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None)):
a,b,q,w,e,r,t,y,u,i,o,p,s,d,f,g,h,j,k,l,z,x,v,n,m,aq,aw,ae,ar,at,ay,au,ai,ao,ap,aa,ad,af,ag,ah,aj,ak,al,az,ax,ac,av,ab,an,am,bq,bw,be,br,bt,by,bu,bi,bo,bp,ba,bs,bd = last_two_digits
if size == 0:
yield ""
else:
for c in "0123456789abcdef":
if a == b == q == w == e == r == t == y == u == i == o == p == s == d == f == g == h == j == k == l == z == x == v == n == m == aq == aw == ae == ar == at == ay == au == ai == ao == ap == aa == ad == af == ag == ah == aj == ak == al == az == ax == ac == av == ab == an == am == bq == bw == be == br == bt == by == bu == bi == bo == bp == ba == bs == bd == c:
continue
else:
for rest in iter_all_strings_without_triplicates(size-1, (b,q,w,e,r,t,y,u,i,o,p,s,d,f,g,h,j,k,l,z,x,v,n,m,aq,aw,ae,ar,at,ay,au,ai,ao,ap,aa,ad,af,ag,ah,aj,ak,al,az,ax,ac,av,ab,an,am,bq,bw,be,br,bt,by,bu,bi,bo,bp,ba,bs,bd,c)):
yield c + rest
for s in iter_all_strings_without_triplicates(20):
print(s)
ребят помогите сделать скрипт так чтобы можно было начать с того места генерацию с которого мне надо например (07023a07049bc00f0feb или a7361acf00bad0000feb) чтобы но продолжал последовательность